I don’t understand scanf() | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I don’t understand scanf()

Can you help me with scanf() i don’t understand.

27th Oct 2020, 8:22 AM
Yassin Chaairate
2 Answers
+ 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.
28th Oct 2020, 11:24 AM
Briana
Briana - avatar
0
thaks i have understand
29th Oct 2020, 7:49 AM
Yassin Chaairate