What is the difference between a template and a macro?
No Answer is Posted For this Question
Be the First to Post Answer
Is vector a class in c++?
catch(exception &e) { . . . } Referring to the sample code above, which one of the following lines of code produces a written description of the type of exception that "e" refers to? a) cout << e.type(); b) cout << e.name(); c) cout << typeid(e).name(); d) cout << e.what(); e) cout << e;
What is a node class in c++?
Do we have to use initialization list in spite of the assignment in constructors?
What are the advantages of C++ programming compared to C programming?
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
Write a program to add three numbers in C++ utilizing classes.
What do you mean by internal linking and external linking in c++?
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
Explain how the virtual base class is different from the conventional base classes of the opps.
What are the c++ access specifiers?
Differentiate between structure and class in c++.