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
print first nodd numbers in descending order
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.
What is singleton pattern in c++?
What is a driver program?
How many types of classes are there in c++?
Write a program in C++ for Fibonacci series
0 Answers Axtria, ITC Indian Tobacco Company,
what is Member Functions in Classes?
What is rvalue?
class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
Describe the advantages of operator overloading?
What is conditions when using boolean operators?
What do you mean by “this” pointer?