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
When should you use global variables?
What is the fastest c++ compiler?
What is double in c++?
What is a sequence in c++?
Explain how a pointer to function can be declared in C++?
Can we use struct in c++?
Explain rethrowing exceptions with an example?
Mention the ways in which parameterized can be invoked.
write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.
What is a rooted hierarchy?
What does ios :: app do in c++?
When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?
Can comments be nested?
Are strings mutable in c++?
Difference between overloaded functions and overridden functions