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 destructor can have a return type.
When accessing a structure member, the identifier to the left of the dot operator is the name of
In C++, the keyword auto can be used for
In C++, identifiers have to be declared at the beginning of the blocks.
The characteristic that data can be manipulated only through member functions that are part of the class…
When one object initializes another object the following function is invoked
Scope resolution operator has the highest precedence.
Member function cannot be called from within a constructor.
The getch() library function
If a friend function is declared inside a class it can access all data members of the class.
this' is an implicit pointer.
Sharing of common information are achieved by the concept of
In C++, the stream base class is
Which of the following can legitimately be passed to a function?
:: is known as
One of the major disadvantage with late binding is
You can read input that consists of multiple lines of text using
A copy constructor is used to copy an object member wise to another object of the same class.
Class members are _______________ by default
A normal C++ operator that acts in a special way on newly defined data types is said to be
In C++, an identifier must be initialized using constant expression.
The declaration int **var1; shows that
Class is similar to a variable.
Delete operator is used
_____________ operator must have one class object
Objects get destroyed in the reverse order as they are created.
An object is an allocated space in memory.
Inline functions_____________ call overload.
A direct access file is:
The template function declaration specifies
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter