Maybe i wasn't clear enough.Sorry for that :/
First the input matter.
Assume that i want to read two user's inputs..First input,then print ,then input again and then print again..So i have to...
Type: Posts; User: std10093
Maybe i wasn't clear enough.Sorry for that :/
First the input matter.
Assume that i want to read two user's inputs..First input,then print ,then input again and then print again..So i have to...
Consider this simple example.
int x;
scanf("%d",&x);
I press a number and then i hit enter.So now the buffer of the stdin has the number and the newline character.scanf will read the number...