Can you write a function similar to printf()?
What is prototype in c++ with example?
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
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"?
Comment on c++ standard exceptions?
Where and why do I have to put the "template" and "typename" keywords?
How a pointer differs from a reference?
What is an arraylist c++?
What are the main characteristics of C++ as a programming language?
What are the five basic elements of a c++ program?
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
Can malloc be used in c++?
Why struct is used in c++?