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 characteristic that data can be manipulated only through member functions that are part of the class…
A pure virtual function is a virtual function that has
If class A is friend of class B and if class B is friend of class C, which of the following is…
A destructor can have arguments like constructor.
A member function can always access the data
The template function declaration specifies
Protected members cannot be inherited.
Member function cannot be called from within a constructor.
The declaration int **var1; shows that
When accessing a structure member, the identifier to the left of the dot operator is the name of
A class that contains at least one pure virtual function is called as
Which of the following is true about const member functions?
We cannot have the address of a constructor.
We can make function inline by using the keyword 'inline'.
Static member functions have file scope.
The signature of a function is
Delete operator is used
In C++, the stream base class is
A function that is called automatically when an object is created is known as
You can read input that consists of multiple lines of text using
When one object initializes another object the following function is invoked
main() returns a value of type
It is possible to allow non member function access to private members of a class by declaring it as
:: is known as
Protected data members can be accessed
The && and || operators
Public data members can be accessed
_____________ operator must have one class object
By default, C++ uses the following method of passing arguments
Private data members can be accessed
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter