True
False
A. True
Structure member
Structure tag
Structure variable
The keyword struct.
True
False
pure class
abstract class
base class
derived class
Making C++ operators work with objects
Making C++ operators more then they can handle
Giving new meaning to existing c++ operators
Making new C++ operators
The for statement itself
The closing brace in a multi-statement loop body
Each statement within the loop body.
The test expression
True
False
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
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
declaring them private
by default they are private
by declaring them in the beginning of the program immediately after main()
they are always public
copy constructor
new
instantiation
none of the above
references are pointers
array of references can be created
you can not reference a reference variable
all of the above
True
False
True
False
To dynamically allocate storage
To statically allocate storage
To allocate storage for a new variable
None of the above are correct
+
new
all
None of these
iostream
iofstream
ios
stdio
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
True
False
unexpected()
perform()
catch()
try()
Compare two numeric values
Combine two numeric values
Compare two Boolean values
Combine two Boolean values
Data security
Data hiding
Data manipulation
Data definition
Only from the base class itself
Both from the base class and form its derived classes
From the class which is a friend of the base class
None of the above is correct
instantiation
function prototype
constructor
destructor
const members can be invoked on both const as well as nonconst objects
const members can be invoked only on const objects and not on nonconst objects
nonconst members can be invoked on const objects as well as nonconst objects
none of the above
True
False
‘has-a’ relationship
‘is-a’ relationship
association relationship
none of the above
True
False
instantiation
function prototype
constructor
structure
True
False