Computer Science, asked by PragyaTbia, 1 year ago

What is the difference between the printf() and scanf()?

Answers

Answered by killerboy94
3
scanf needs to modify variables, nearly all the parameters it receives (other than the format string) are pointers instead of values (though printfexpects pointers in a few cases as well, such as %s and %n). But in theend, the big difference is what they do:printf writes output,scanf reads input
Answered by sadhya15
8
thanks
hope it will help you
Attachments:
Similar questions