Static data member occurs in only class scope.
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 getch() library function
The characteristic that data can be manipulated only through member functions that are part of the class…
In C++, the stream base class is
A constructor cannot be explicitly called.
The ?: can be used to replace
A function that is called automatically when an object is destroyed is known as
The following syntax is valid. void inline gram_ panchayat :: show_gram_ panchayat_info().
Objects get destroyed in the reverse order as they are created.
this' pointer has to be used while accessing data members in a member function.
A copy constructor is used to copy an object member wise to another object of the same class.
cc ___________ option is used only to create object file
A destructor can have arguments like constructor.
The template function declaration specifies
If class A is friend of class B and if class B is friend of class C, which of the following is…
A function that is called automatically when an object is created is known as
iostream is inheried from istream, ostream and ios class.
Constructor returns void type value.
The exception is processed using
When you overload an arithmetic assignment operator, the result
A pure virtual function is a virtual function that has
By using protected, one can create class members that are private to their class but
The library function exit() causes an exit from
Pick out the most appropriate statement from the following
Delete operator is used
The value of 'this' pointer can be changed.
A class that contains at least one pure virtual function is called as
One of the important features of an abstract class is
Class members are _______________ by default
When one object initializes another object the following function is invoked
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter