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 code reusability in c++?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
What is the object serialization?
What do nonglobal variables default to a) auto b) register c) static
What is an orthogonal base class in c++?
What's the best free c++ profiler for windows?
Can we inherit constructor in c++?
What is vector string in c++?
Write a C++ Program to check whether a number is prime number or not?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
Explain the difference between new() and malloc() in c++?
Why is it necessary to use a reference in the argument to the copy constructor?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
What does scope resolution operator do?