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
Do you know about C++ 11 standard?
Explain virtual class and friend class.
How to implement is-a and has-a class relationships?
What are the advantages of pointers?
What is heap sort in c++?
What is a float in c++?
How do I run c++?
Why do we learn c++?
What are the benefits of oop in c++?
How is data hiding achieved in c++?
Explain the difference between using macro and inline functions?
What is c++ similar to?
Is c the same as c++?
What is static in c++?
Explain how to initialize a const data member.