The "virtual" specifier in a member function enables which
one of the following?
a) Monmorphism
b) Late binding
c) Metamorphism
d) Solomorphism
e) Inheritance
Answers were Sorted based on User's Feedback
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 the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?
What is the difference between structure and class?
Why do we need templates?
What are the effects after calling the delete this operator ?
Is overriding possible in c++?
What is an undefined reference/unresolved external symbol error and how do I fix it?
What is the best it certification?
How can you specify a class in C++?
Explain this pointer?
Describe the advantages of operator overloading?
Can we use this pointer inside static member function?