0

Someone say me simple definition and example for scanf

6th Jan 2020, 4:31 PM
Akhilesh
Akhilesh - avatar
3 Respostas
+ 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
6th Jan 2020, 4:58 PM
PATO ACRIANO
PATO ACRIANO - avatar
0
Thanks
7th Jan 2020, 10:53 AM
Akhilesh
Akhilesh - avatar