What is the Difference between "printf" and "sprintf"?
Answer Posted / namitha
printf is used to write the data in its format.
sprintf is used to write formatted data to string.
Is This Answer Correct ? | 21 Yes | 8 No |
Post New Answer View All Answers
What are vectors used for in c++?
Where the memory to the static variables is allocated?
Do you need a main function in c++?
Is it possible to provide special behavior for one instance of a template but not for other instances?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
How does java differ from c and c++?
Are strings mutable in c++?
What is #include iostream h in c++?
What is purpose of new operator?
How does a C++ structure differ from a C++ class?
Explain polymorphism?
Does there exist any other function which can be used to convert an integer or a float to a string?
What is #include ctype h in c++?
Define the process of handling in case of destructor failure?
Is swift faster than c++?