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
Can you declare an array without a size in c++?
What is private, public and protected inheritance?
What is the use of default constructor?
What is meant by entry controlled loop? What all C++ loops are exit controlled?
What is cin clear () in c++?
Distinguish between a # include and #define.
What is difference between c++ 11 and c++ 14?
What does asterisk mean in c++?
How can you say that a template is better than a base class?
What are the steps in the development cycle?
Difference between strdup and strcpy?
What is buffer and example?
Write a program to concatenate two strings.
what is pre-processor in C++?
what are the iterator and generic algorithms.