Static data member can be declared as const too.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of C++ Programming MCQ
comments powered by Disqus.
A class that contains at least one pure virtual function is called as
main() returns a value of type
The template function declaration specifies
Protected data members can be accessed
The value of 'this' pointer can be changed.
Which of the following relationship is known as inheritancerelationship?
Static data member occurs in only class scope.
One of the important features of an abstract class is
Which of the following are good reasons to use an object oriented language?
The ?: can be used to replace
The string table in C++ holds the
By default, members cannot be inherited.
_______ argument(s) are passed in case of unary overloaded operators.
A normal C++ operator that acts in a special way on newly defined data types is said to be
A copy constructor is used to copy an object member wise to another object of the same class.
Organizing data with methods that operate on the data and creating a new data type is called encapsulation.
Element double Array is which element of the array?
The declaration int **var1; shows that
Delete operator is used
The getch() library function
this' pointer has to be used while accessing data members in a member function.
Class members are _______________ by default
A destructor can have a return type.
A function that is called automatically when an object is destroyed is known as
A direct access file is:
Static member functions have file scope.
When a language has the capacity to produce new data type, it is said to be
In C++, identifiers have to be declared at the beginning of the blocks.
cc ___________ option is used only to create object file
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter