What is the Difference between "printf" and "sprintf"?
Answer Posted / lavanya
printf funtion is to write the output to stdout.
sprintf function is to store romatted input output on a
string buffer
| Is This Answer Correct ? | 11 Yes | 13 No |
Post New Answer View All Answers
What is algorithm in c++ programming?
What is flush programming?
What are virtual functions in c++?
What is the error in the code below and how should it be corrected?
How the endl and setw manipulator works?
What are the various compound assignment operators in c++?
What is a multiset c++?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
Why do we use double in c++?
Can a new be used in place of old mallocq? If yes, why?
What is the purpose of extern storage specifier?
How do you initialize a string in c++?
What is the auto keyword good for in c++?
List the issue that the auto_ptr object handles?
In a function declaration, what does extern mean?