I donā€™t understand scanf() | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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