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%
4%
4%
Reviews
P
PATAN MASTHAN
5
sir need c notes it is very useful us to read after listening class so i request u do please provide notes......................masthimasthan786@gmail.com this is my mail
L
Lalita
5
this courses are very helpful. thank you so much.
B
Biwek Gorai
5
I like this course , thank you for your free courses, your free course many people for helpful.
S
SHAYAQ SHAFI
5
sir please provide pdf
Y
Yash Lohiya
5
I am really thanks to learnvern because they give best lectures without any cost sir please. I am really requesting please give us pdf
S
Sonu Kumar
5
teaching is really very awesome.
If assignment would be in the pdf along with lecture. then it would be more benificial.
A
ashish patil
5
Teaching is very best everything is understanding thank you so much 🙏
Share a personalized message with your friends.