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
Tell me an example where stacks are useful?
What does I ++ mean in c++?
What is difference between c++ 11 and c++ 14?
State the difference between delete and delete[].
What is meant by forward referencing and when should it be used?
What are the uses of static class data?
What is the array and initializing arrays in c++?
How can you create a virtual copy constructor?
Difference between strdup and strcpy?
What is c++ redistributable?
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
What are the five basic elements of a c++ program?
How does a copy constructor differs from an overloaded assignment operator?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
What is ios :: in in c++?