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
What is a class template in c++?
Difference between pointer to constant vs. Pointer constant
Explain rtti.
How long it will take to learn c++?
What character terminates all character array strings a) b) . c) END
What is the benefit of learning c++?
Can we use pointers in c++?
Explain storage qualifiers in c++.
When is dynamic checking necessary?
Differentiate between an array and a list?
What is Destructor in C++?
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
What is a responder chain?
How do c++ struct differs from the c++ class?
What is polymorphism and its type in c++?