hello!
considering these lines:
char input[100]
printf("len of hello:%ld\n",strlen("hello"));
printf("input a line:");
scanf("%s",input);
What's bothering me is that I have to input one line first ,then it prints the hint line "input a line",I do not know reasons.
please help me!
Thank you!
considering these lines:
char input[100]
printf("len of hello:%ld\n",strlen("hello"));
printf("input a line:");
scanf("%s",input);
What's bothering me is that I have to input one line first ,then it prints the hint line "input a line",I do not know reasons.
please help me!
Thank you!