+ 1
What is scanf? I didn't understood it
Can anybody help me with scanf... I didn't understood what it's his utility
7 Answers
+ 5
scanf means scan formatted. So
scanf will read keyboard buffer like the format you specified.
In a informal way
scanf("format", var addres to sign value)
here a example i made:
https://code.sololearn.com/c8F128G57iuN/?ref=app
Edit: You want to use scanf when you know the type of the data inserted and how is inserted.
+ 2
supriyađ yes i kind misleading in my explanation.
+ 2
supriyađ Thanks for the compliment and feedback
0
supriyađ just a reminder, remember to mark the best answerđ
0
Thanks to all
0
oh, it's FireStarter 95 who asked the question, there is mark best answer
0
below the upvote downvote of each answer there is a tick.