0
Someone say me simple definition and example for scanf
3 ответов
+ 2
Scanf gets the user input
Example:
Int a;
Scanf("%d", &a)
%d means it's an integer, and the "a" means that's the integer that you want to store the value of the input
so, if you use
printf("%d", a)
you will print what the user input
0
Thanks