why does the scanf for the visanum only work if i enter one character in the first scanf?

前端 未结 0 392
孤城傲影
孤城傲影 2021-01-31 09:42
int main(){

char name;
int visanum;

printf("What is your first name?:");
scanf("%c",&name);


printf("what is your visa number?:");
s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题