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
Difference between pointer to constant vs. Pointer constant
What is the limitation of cin while taking input for character array?
Explain container class.
How is modularity introduced in C++?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
Explain the static member function.
Differentiate between an array and a list?
What is encapsulation in C++? Give an example.
Which software is best for programming?
What is a local reference?
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
When does a 'this' pointer get created?
What is class and structure in c++?
What is decltype c++?
Explain differences between alloc() and free()?