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
Define virtual constructor.
What is scope operator in c++?
What do you mean by vtable and vptr in c++?
How do you declare a set in c++?
Is it possible to provide special behavior for one instance of a template but not for other instances?
What are the uses of static class data?
How do you compile the source code with your compiler?
What is the size of integer variable?
What do you understand by pure virtual function? Write about its use?
Mention the ways in which parameterized can be invoked. Give an example of each.
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
What is Destructor in C++?
Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What are the advantages of using friend classes?
What is virtual destructor ans explain its use?