Question # 1 of 10 ( Start time:
06 :10 :29 PM ) Total Marks: 1
Unary operators and assignment
operator are right associative .
Select correct option :
True
False
Question # 2 of 10 ( Start time:
06 :10 :29 PM ) Total Marks: 1
Associativity can change due to
operator overloading.
Select correct option :
True
False
Question # 3 of 10 ( Start time:
06 :10 :29 PM ) Total Marks: 1
To initialize an array of objects , only
_____________ will be called
Select correct option :
Defualt Constructor
Overloaded Constructor
Default Object
None of the above
Question # 4 of 10 ( Start time:
06 :10 :29 PM ) Total Marks: 1
Separation of implementation from
interface provides the facility to
restrict the _________ from direct
access
Select correct option :
Data Member
Data Function
Class
None of the given
Question # 5 of 10 ( Start time:
06 :10 :29 PM ) Total Marks: 1
Static variable can be initialized more
than once .
Select correct option :
True
False
Question # 6 of 10 ( Start time:
06 :12 :04 PM ) Total Marks: 1
Always make pointer to null , whenever
dynamic memory is deleted .
Select correct option :
True
False
Question # 7 of 10 ( Start time:
06 :12 :34 PM ) Total Marks: 1
Memory is allocated to non static
members only, when :
Select correct option :
Class is created
Object is defined
Object is initialized
Object is created
Question # 8 of 10 ( Start time:
06 :13 :11 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 the given choices
Both Rational _ number _ 1 &
Rational _ number _ 2
any of the two objec
Question # 9 of 10 ( Start time:
06 :14 :27 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 # 10 of 10 ( Start time :
06 :14 :53 PM ) Total Marks: 1
Static data members are called
____________ variable
Select correct option :
Class
Object
Structure
none of the given