What is the Difference between "printf" and "sprintf"?
Answer Posted / ramanji
printf() is used to send the output to the output consoled
device i.e,monitor
and the sprintf() is send the output to the specified file
that will be given in the parameters
Is This Answer Correct ? | 8 Yes | 11 No |
Post New Answer View All Answers
write a function signature with various number of parameters.
What is the difference between *p++ and (*p)++ ?
What is the use of register keyword with the variables?
What is data binding in c++?
Explain how functions are classified in C++ ?
Which function should be used to free the memory allocated by calloc()?
What are c++ variables?
What is a storage class? Mention the storage classes in c++.
Why do we use the using declaration?
What is #include iostream h in c++?
State the difference between pre and post increment/decrement operations.
What are the important differences between c++ and java?
Explain one-definition rule (odr).
What is long in c++?
Name the operators that cannot be overloaded in C++?