the source code should be made available at compile time
the program runs slower
dynamic variables can not be used in the program
static variables can not be used
B. the program runs slower
True
False
True
False
instantiation
function prototype
constructor
structure
Compare two numeric values
Combine two numeric values
Compare two Boolean values
Combine two Boolean values
-a
-o
-c
none of these
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
Returns a character when any key is pressed
Returns a character when ENTER is pressed
Display a character on the screen when a key is pressed
Does not display a character on the screen
True
False
True
False
Data security
Data hiding
Data manipulation
Data definition
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
Only from the innermost loop
Only from the innermost switch
From all loops and switch
Only from the innermost loops or switch
Goes in the object to the right of the operator
Goes in the object to the left of the operator
Goes in the object of which the operator is a member
Must be returned
derived class
inline function
constructor
none of the above
True
False
declaring them private
by default they are private
by declaring them in the beginning of the program immediately after main()
they are always public
no definition in its base class
a definition in its base class
a definition in at least one derived class
definition in base class and at least one derived class
True
False
copy constructor
new
instantiation
none of the above
True
False
True
False
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++
private and protected members
public members only
private members only
None of the above are correct
10
20
55
there is an error in the program
True
False
True
False
Access method
Auxiliary storage management
Free integrity mechanism
None of the above
Increase
Reduce
None of the above are correct
public
friend
private
not possible