What is the Difference between "printf" and "sprintf"?
Answer Posted / praveen
printf writes the data to console
sprintf writes the data to an array
Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
what are the iterator and generic algorithms.
What is unary operator? List out the different operators involved in the unary operator.
Can turbo c++ run c program?
what is a reference variable in C++?
What is fflush c++?
Write about the stack unwinding?
What things would you remember while making an interface?
What is the most common mistake on c++ and oo projects?
What size is allocated to the union variable?
What is pointer with example?
Can you please explain the difference between using macro and inline functions?
Define friend function.
Can c++ do everything c can?
Why c++ is better than c language?