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
Do you know the use of vtable?
How do you traverse a btree in backward in-order?
Differentiate between a constructor and a method in C++.
What are the 4 types of library?
What is oop in c++?
What is a list c++?
What is the size of integer variable?
Explain the purpose of the keyword volatile.
What is abstraction c++?
What are the advantage of using register variables?
Why we use #include conio h in c++?
Why we use #include iostream in c++?
What is operator overloading in c++ example?
Is c++ still being used?
Can we specify variable field width in a scanf() format string? If possible how?