Which of the following is also known as instance of class ?
Friend function
Object
Member function
Member variable
Which of the following argument is used to pass a copy of an entire object to the function ?
Pass by reference
Pass by value
Recursion
Setting a condition
Which of the following is the default access specifier used in class definition?
Protected
Public
Private
Friend
What is empty class ?
Class without object
Class without member function
Class without member function and data members
Class without function definition
Which of the following can access private data members of a class ?
Any class members of the derived class
Any derived class member functions
Any member function of that class
Only private member functions of that class
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.
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 of the following is the function defined within a class?
Inline function
Composite function
Inverse function
Linear function
Which of the following type of data member can be shared by all instance of its class ?
Inherited
Static
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