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 prototype in c++ with example?

0 Answers  


class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list

2 Answers   Quark,


Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?

6 Answers   CSC,


Comment on c++ standard exceptions?

0 Answers  


Where and why do I have to put the "template" and "typename" keywords?

0 Answers  


How a pointer differs from a reference?

0 Answers  


What is an arraylist c++?

0 Answers  


What are the main characteristics of C++ as a programming language?

1 Answers  


What are the five basic elements of a c++ program?

0 Answers  


What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.

0 Answers  


Can malloc be used in c++?

0 Answers  


Why struct is used in c++?

0 Answers  


Categories