What is the Difference between "printf" and "sprintf"?
Answer Posted / nelson
The only difference between sprintf() and printf() is that
sprintf() writes data into a character array, while printf
() writes data to standard output device.
Is This Answer Correct ? | 118 Yes | 10 No |
Post New Answer View All Answers
What happens if a pointer is deleted twice?
If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
What is pointer -to-members in C++? Give their syntax?
What do you mean by const correctness?
What you know about structures in C++?
Why is polymorphism useful?
Will c++ be replaced?
Explain the purpose of the keyword volatile.
Who calls main function?
How can a called function determine the number of arguments that have been passed to it?
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
What is the best c++ compiler?
What are the three forms of cin.get() and what are their differences?
What is the use of "new" operator?
What are c++ redistributables?