Which of the following relationship is known as inheritancerelationship?
none of the above
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of C++ Programming MCQ
comments powered by Disqus.
The members of a class can be made private by
The declaration int **var1; shows that
The member of a structure can be accessed through a pointer by
An object is an allocated space in memory.
A base class is inherited by
In C++, the stream base class is
If class A is friend of class B and if class B is friend of class C, which of the following is…
A constructor cannot be explicitly called.
this' pointer has to be used while accessing data members in a member function.
One of the major disadvantage with late binding is
"" Operator is a unary operator.
Data objects can be initialized when allocating memory using 'new'.
Inline functions_____________ call overload.
cc ___________ option is used only to create object file
The getch() library function
By using protected, one can create class members that are private to their class but
_______ argument(s) are passed in case of binary overloaded operators.
The ?: can be used to replace
In case of nested class, enclosing class can directly access the private data member of nested class.
The scope resolution operator is -
A destructor can have arguments like constructor.
:: is known as
Organizing data with methods that operate on the data and creating a new data type is called encapsulation.
In C++, the keyword auto can be used for
Class is similar to a variable.
Which of the following is true about const member functions?
One of the important features of an abstract class is
By default, C++ uses the following method of passing arguments
Protected members cannot be inherited.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter