0
I don’t understand scanf()
Can you help me with scanf() i don’t understand.
2 Respuestas
+ 1
Scanf() is to input integer or char or any data type.
Example :
int n;
scanf("%d", &n);
You can input any integer for variable n, example you input 5
So, if you print it like this:
printf("%d", n);
the output will be 5.
0
thaks i have understand