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
What do you know about near, far and huge pointer?
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
What is a node class in c++?
Explain the difference between abstract class and interface in c++?
What would happen on forgetting [], while deallocating an array through new?
What is virtual methods?
Why is c++ still used?
What are the advantages of using friend classes?
Difference between declaration and definition of a variable.
Do the parentheses after the type name make a difference with new?
What do you mean by vtable and vptr in c++?
Is there structure in c++?
Can a constructor return a value?
Does c++ have a hash table?
What are the main features of c++?