What is the difference between the printf() and scanf()?
Answers
Answered by
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
8
thanks
hope it will help you
hope it will help you
Attachments:
Similar questions
Math,
7 months ago
Math,
7 months ago
Computer Science,
1 year ago
English,
1 year ago
Science,
1 year ago