What is the Difference between "printf" and "sprintf"?
Answer Posted / namitha
printf is used to write the data in its format.
sprintf is used to write formatted data to string.
| Is This Answer Correct ? | 21 Yes | 8 No |
Post New Answer View All Answers
What is general form of pure virtual function? Explain?
What is a down cast?
How do you flush std cout?
Explain the static member function.
What are associate containers?
What are the two types of comments, and how do they differ?
Is c better than c++?
Difference between declaration and definition of a variable.
Explain the volatile and mutable keywords.
Can I learn c++ in a week?
what do you mean by volatile variable?
Write a program to find the reverse Fibonacci series starting from N.
How can a struct in c++ differs from a struct in c?
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.
Write a code/algo to find the frequency of each element in an array?