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
What are the benefits of oop in c++?
What is the difference between #define debug 0 and #undef debug?
What is the meaning of string in c++?
Explain what you mean by a pointer.
What are member functions used in c++?
What is &x in c++?
Why is c++ still used?
What is the use of register keyword with the variables?
Tell me what are static member functions?
Write syntax to define friend functions in C++.
What is the difference between a type-specific template friend class and a general template friend class?
What are the advantages of c++ over c?
Difference between declaration and definition of a variable.
What are associate containers?
Can you overload the operator+ for short integers?