The main difference between printf and scanf is that in printf(), variable values are passed, whereas in scanf(), variable addresses are passed.
Scaff is a function in the C programming language that reads formatted data from stdin (the standard input stream, which is normally the keyboard unless redirected) and writes the results into the arguments.
printf() - printf() returns the amount of characters sent to the output successfully. scanf() reports the number of data items that were successfully entered. It is used to read data (simile characters, numerical values, and strings) from a conventional input device into the computer.
printf() returns the number of characters that were successfully written to the output. scanf() - This function returns the number of correctly inserted data elements. It is used to read data from a conventional input device into the computer (simile characters, numerical values, and strings).
printf() is a built-in library function in C that is included by default in the C library. The "stdio. h" header file declares this function and defines related macros. On the output screen, the printf() method prints "character, string, float, integer, octal, and hexadecimal values."
Learner's Ratings
4.4
Overall Rating
69%
18%
5%
5%
3%
Reviews
U
Ujwal Sadafale
5
VERY USEFULL EXPERIENCE
N
Nirali K Patel
5
N
P
Prabhat Yadav
5
Superb and amazing 😍🤩 enjoyable experience.
S
sahil namdev
5
Nice teaching sence... I like this platform..
J
Jayprakash Rajput
5
Your teaching style is very very good.and simple.
B
Bidisha Manna
5
It is a very good C programming language course. Yes it is.
D
Deepak Kumar
5
best matarial in hindi medium student
W
Wali ullah
5
that are very best ara learnig skill so that are the best of best
Share a personalized message with your friends.