Can you write a function similar to printf()?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is the default access level?

0 Answers  


What is a virtual destructor? Explain the use of it?

0 Answers  


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

0 Answers  


Which uses less memory? a) struct astruct { int x; float y; int v; }; b) union aunion { int x; float v; }; c) char array[10];

4 Answers   Quark,


If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

0 Answers  






What is c++ virtual inheritance?

0 Answers  


What does #define mean in c++?

0 Answers  


What are proxy objects?

2 Answers  


What is a far pointer? where we use it?

0 Answers  


Write any small program that will compile in "C" but not in "C++"

10 Answers   Honeywell,


When does a name clash occur in c++?

0 Answers  


What is &x in c++?

0 Answers  


Categories