How a macro differs from a template?
No Answer is Posted For this Question
Be the First to Post Answer
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
What is pure virtual function?
What is a float in c++?
Is c++ a software?
How to avoid a class from instantiation?
List the features of oops in c++?
Who created c++?
What do you mean by friend class & friend function in c++?
Which compiler does turbo c++ use?
Discussion on error handling of C++ .
Which operator can not be overloaded in C++?
How do I run c++?