What is the Difference between "printf" and "sprintf"?
Answer Posted / lavanya
printf funtion is to write the output to stdout.
sprintf function is to store romatted input output on a
string buffer
| Is This Answer Correct ? | 11 Yes | 13 No |
Post New Answer View All Answers
What are c++ redistributables?
What is istream c++?
What is the difference between ++ count and count ++?
What is abstract class in c++?
What are references in c++? What is a local reference?
how to access grid view row?
What is c++ programming language?
How do you generate a random number in c++?
What jobs can you get with a c++ certification?
What is a breakpoint?
What does the nocreate and noreplace flag ensure when they are used for opening a file?
Differentiate between late binding and early binding.
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Give 10 points of differences between C & C++.