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
Define stacks. Provide an example where they are useful.
When is the copy constructor called?
Why is c++ awesome?
What is lambda in c++?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
What does it mean to declare a member function as static?
Mention the storage classes in c++.
Is c or c++ more useful?
What is the best way to take screenshots of a window with c++ in windows?
What are files in c++?
What things would you remember while making an interface?
How do you flush std cout?
Can you sort a set c++?
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)
What are structures and unions?