What is the Difference between "printf" and "sprintf"?
Answer Posted / nelson
The only difference between sprintf() and printf() is that
sprintf() writes data into a character array, while printf
() writes data to standard output device.
Is This Answer Correct ? | 118 Yes | 10 No |
Post New Answer View All Answers
Why do you use the namespace feature?
What is meant by iomanip in c++?
Write about the access privileges in c++ and also mention about its default access level?
What is the difference between the compiler and the preprocessor?
Difference between strdup and strcpy?
How is new() different from malloc()?
What is the use of typedef?
Explain virtual class and friend class.
What is a driver program?
Can I learn c++ as my first language?
What is the protected keyword used for?
Why is c++ considered difficult?
What is auto used for in c++?
What is the full form of dos?
What are the types of array in c++?