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 ctype h is used in c++?
What is the best c++ book for beginners?
Which of the following is evaluated first: a) && b) || c) !
Differentiate between the message and method in c++?
what is the difference between overloading & overriding? give example.
Differentiate between a constructor and a destructor in c++.
What is flush programming?
Briefly describe a B+ tree. What is bulk loading in it?
Explain the pure virtual functions?
What is the use of namespace std in C++?
Distinguish between a # include and #define.
What is a terminating character in c++?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
What is pointer -to-members in C++? Give their syntax?
What are multiple inheritances (virtual inheritance)?