What is empty class ?
Class without object
Class without member function
Class without member function and data members
Class without function definition
What will happen when an argument is passed by reference?
A variable is created in the function to hold the argument's value.
A function cannot access the argument's value.
A temporary variable is created in the calling program to hold the argument's value.
The function accesses the argument's original value in the calling program.
Which function has full access right to even the private members of the class?
Friend function
Member function
Constant function
Static function
Which of the following is also known as instance of class ?
Object
Member variable
which of the following is the function defined within a class?
Inline function
Composite function
Inverse function
Linear function
What is a global object?
object that is declared outside all the functions.
object that is declared inside all the functions.
normal class objects.
None of the above
Which of the following can be connected by the dot operator ?
A class member and a class object
A class object and a class
A class and a a member of that class
A class object and a member of that class
Which term is used to represent a group of similar and related objects ?
Module
Function
Class
Composition
Which of the following is correct when a public class is inherited ?
Public members of the base class become protected members of derived class.
Public members of the base class become private members of derived class.
Private members of the base class become protected members of derived class.
Public members of the base class become public members of derived class.
Which operator is used for defining the member functions outside the class ?
::
:
;
,