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
Define whitespace in C++.
What is the difference between an enumeration and a set of pre-processor # defines?
Is c++ free?
Can c++ be faster than c?
What is a type library?
Explain what are the sizes and ranges of the basic c++ data types?
what is a class? Explain with an example.
What is object file? How can you access object file?
What does the nocreate and noreplace flag ensure when they are used for opening a file?
What is the difference between containment and delegation?
Are strings immutable in c++?
Can a new be used in place of old mallocq? If yes, why?
What are c++ files?
When does the c++ compiler create temporary variables?
What are disadvantages of pointers?