The return type
The number and type of arguments
The class of a function
None of the above
D. None of the above
True
False
Two
One
No
None of the above
that can not be inherited and accessed by a derived class
that can still be inherited and accessed by a derived class
that can be public
none of the above
True
False
‘has-a’ relationship
‘is-a’ relationship
association relationship
none of the above
From the point of definition onwards in the program
From the point of definition onwards in the function
From the point of definition onwards in the block
Throughout the function
In the object of which it is a member
In the class of which it is a member
In the object of the class of which it is a member
In the public part of its class
new
volatile
static
==
True
False
To allocate storage
To deallocate storage
To delete variable name
None of the above are correct
True
False
True
False
True
False
True
False
Only from the base class itself
Both form the base class and from its derived classes
From the class which is friend of the base class
None of the above are correct
All variables must be declared before they are used
Variables in C++ need not be declared and the type can be assigned dynamically
Variables in C++ can be declared at the end of the program (before the main function terminates)
Variables can not be used explicitly in C++
Structure member
Structure tag
Structure variable
The keyword struct.
True
False
1
5
0
-3
Call-by-Reference
Call-by-Value
Call-by-Pointer
None of the above
True
False
Are a group of functions with the same name
All have the same number and types of arguments
Make life simpler for programmer
May fail unexpectedly due to stress
scope resolution operator
global operator
Both (a) & (b)
None of these
To dynamically allocate storage
To statically allocate storage
To allocate storage for a new variable
None of the above are correct
Reprehensible
Encapsulated
Overload
Extensible
Virtual copying
Inheritance
Encapsulation
None of these
->
dot operator
::
>>
True
False
references are pointers
array of references can be created
you can not reference a reference variable
all of the above
True
False