Question: what is the difference between printf and scanf functions?
Answer: Format string: In the first parameter of printf and scanf, we pass Format string or Format specifier string, we specify, what type of the value that the user is going to enter. ... Note: The major difference between printf and scanf is, In printf() we pass variable values whereas in scanf() we pass variable address.