If a friend function is declared inside a class it can access all data members of the class.
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 following syntax is valid. void inline gram_ panchayat :: show_gram_ panchayat_info().
A copy constructor is used to copy an object member wise to another object of the same class.
When you overload an arithmetic assignment operator, the result
The binding that binds a function call at run time is called
A function that is called automatically when an object is destroyed is known as
new operator is used
By default, C++ uses the following method of passing arguments
The signature of a function is
this' is an implicit pointer.
If class A is friend of class B and if class B is friend of class C, which of the following is…
The break statement causes an exit
One of the major disadvantage with late binding is
Constructor returns void type value.
Inline functions_____________ call overload.
The characteristic that data can be manipulated only through member functions that are part of the class…
In C++, the exception handler is invoked with a-
The template function declaration specifies
A constructor cannot be explicitly called.
In C++, the keyword auto can be used for
A function that is called automatically when an object is created is known as
Protected data members can be accessed
Which of the following are good reasons to use an object oriented language?
In C++, the stream base class is
The member of a structure can be directly accessed by
The && and || operators
The getch() library function
Dynamic memory can be allocated by the following declaration
The new operator always returns a void pointer.
Which of the following can legitimately be passed to a function?
A destructor can have a return type.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter