"WHAT  'scanf()' DO? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

"WHAT  'scanf()' DO?

whats difference between 'scanf()' and 'printf()'?

25th Dec 2016, 2:58 PM
mahesh naandade
mahesh naandade - avatar
13 Answers
+ 6
they are basic and formatted functions of C language. printf is used to print any value or value of any variable of expression. scanf is used to take input in standard way. standard means "with print controls like : %s for string, %c for single character, %d for integer etc
25th Dec 2016, 3:20 PM
Ajay Agrawal
Ajay Agrawal - avatar
+ 4
The difference: printf() is for output, scanf() is for input...
25th Dec 2016, 3:15 PM
visph
visph - avatar
+ 3
are you new in C language?
25th Dec 2016, 3:24 PM
Ajay Agrawal
Ajay Agrawal - avatar
+ 3
then you have to practice it more and more
25th Dec 2016, 3:47 PM
Ajay Agrawal
Ajay Agrawal - avatar
+ 3
I think at least 500 programs
25th Dec 2016, 3:49 PM
Ajay Agrawal
Ajay Agrawal - avatar
+ 3
to clear all concepts
25th Dec 2016, 3:49 PM
Ajay Agrawal
Ajay Agrawal - avatar
+ 2
scanf is like cin, it gets input of user.
25th Dec 2016, 3:03 PM
Jakub Stasiak
Jakub Stasiak - avatar
+ 2
yes
25th Dec 2016, 3:24 PM
mahesh naandade
mahesh naandade - avatar
+ 2
yes iam in new c languege
25th Dec 2016, 3:46 PM
Inyaw
+ 2
r u sayin to create500 programs
25th Dec 2016, 3:50 PM
mahesh naandade
mahesh naandade - avatar
+ 2
can u suggest me an app to code in c.
25th Dec 2016, 3:54 PM
mahesh naandade
mahesh naandade - avatar
+ 2
request user to give input
25th Dec 2016, 3:56 PM
Sun
Sun - avatar
+ 1
so how I learn it plz?
25th Dec 2016, 3:47 PM
Inyaw