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 members of a class can be made private by
The new operator always returns a void pointer.
Which of the following is not a component of file system
A variable defined within a block is visible
When you overload an arithmetic assignment operator, the result
Reference to an object behaves like a constant pointer.
Which of the following is true about const member functions?
The signature of a function is
The declaration int **var1; shows that
The member of a structure can be directly accessed by
Private members of a structure can be accessed directly from the outside of the structure.
The break statement causes an exit
The binding that binds a function call at run time is called
An object is an allocated space in memory.
main() returns a value of type
The value of 'this' pointer can be changed.
A constructor cannot be explicitly called.
Operator overloading is
A function that is called automatically when an object is created is known as
A direct access file is:
Inline functions_____________ call overload.
Classes are useful because they
"" Operator is a unary operator.
_____________ operator must have one class object
:: is known as
By using protected, one can create class members that are private to their class but
The string table in C++ holds the
If class A is friend of class B and if class B is friend of class C, which of the following is…
this' pointer has to be used while accessing data members in a member function.
Scope resolution operator has the highest precedence.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter