Question # 1 of 10 ( Start time:
06 :29 :41 PM ) Total Marks: 1
We can create array of objects if we
have a user defined constructor .
Select correct option :
True
False
Question # 2 of 10 ( Start time:
06 :30 :19 PM ) Total Marks: 1
Which of the following operator doesn' t
take any argument if overloaded?
Select correct option :
/
-
+
None of the given choices
Question # 3 of 10 ( Start time:
06 :30 :47 PM ) Total Marks: 1
Unary operators and assignment
operator are right associative .
Select correct option :
True
False
Question # 4 of 10 ( Start time:
06 :31 :25 PM ) Total Marks: 1
Constant objects cannot change their
state .
Select correct option :
True
False
Question # 5 of 10 ( Start time:
06 :31 :49 PM ) Total Marks: 1
Copy constructor is called when :
Select correct option :
An object is created .
An object is created in term of pre
existing object.
An array of objects is created .
An object is deleted .
Question # 6 of 10 ( Start time:
06 :32 :14 PM ) Total Marks: 1 Consider
the call given below of an overloaded
operator " + " , Rational _ number _ 1 +
Rational _ number _ 2 Where
Rational _ number _ 1 and
Rational _ number _ 2 are the two objects
of Rational _ number class (a user
defined class ). Identify which of the
above two objects will be passed as an
argument to the overloaded operator
function ?
Select correct option :
Rational _ number _ 1
None of
Question # 7 of 10 ( Start time:
06 :32 :51 PM ) Total Marks: 1
Which of the following operator (s ) take
(s ) one or no argument if overloaded ?
Select correct option :
+ +
*
%
All of the given choices
Question # 8 of 10 ( Start time:
06 :33 :18 PM ) Total Marks: 1
If we are create array of objects
through new operator, then
Select correct option :
We can call overloaded constructor
through new
We can ’ t call overloaded constructor
through new
We can call default constructor
through new
None of the given
Question # 9 of 10 ( Start time:
06 :33 :59 PM ) Total Marks: 1
We can access a private static variable
through :
Select correct option :
Static data member
Static member function
Global data member
None of the given
Question # 10 of 10 ( Start time :
06 :35 :00 PM ) Total Marks: 1
Sub - Object can not be initialized using
the constructor
Select correct option :
True
False