Which function has full access right to even the private members of the class?
Friend function
Member function
Constant function
Static function
Which term is used to represent a group of similar and related objects ?
Module
Function
Class
Composition
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 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 function defined within a class?
Inline function
Composite function
Inverse function
Linear function
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 operator is used for defining the member functions outside the class ?
::
:
;
,
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 is the default access specifier used in class definition?
Protected
Public
Private
Friend
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