What is the Difference between "printf" and "sprintf"?
Answer Posted / ramanji
printf() is used to send the output to the output consoled
device i.e,monitor
and the sprintf() is send the output to the specified file
that will be given in the parameters
| Is This Answer Correct ? | 8 Yes | 11 No |
Post New Answer View All Answers
What is fixed in c++?
What is this pointer in c++?
Explain what is class definition in c++ ?
Describe exception handling concept with an example?
what is multi-threading in C++?
What is stream and its types in c++?
What does asterisk mean in c++?
How do you print a string on the printer?
Explain what is oop?
What are the rules about using an underscore in a c++ identifier?
Why was c++ created?
What is a far pointer? where we use it?
How do you differentiate between overloading the prefix and postfix increments?
Why do we need runtime polymorphism in c++?
Is c better than c++?