The for statement itself
The closing brace in a multi-statement loop body
Each statement within the loop body.
The test expression
C. Each statement within the loop body.
True
False
The loop in which it occurs
The block in which it occurs
The function in which it occurs
The program in which it occurs
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
instantiation
function prototype
constructor
structure
Call-by-Reference
Call-by-Value
Call-by-Pointer
None of the above
+
new
all
None of these
copy constructor
new
instantiation
none of the above
Compare two numeric values
Combine two numeric values
Compare two Boolean values
Combine two Boolean values
A constant
A variable
A structure
A header file
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
it need not have any object
it should be used only as a derived class
it need not have any members
none of the above
True
False
Two
One
No
None of the above
1
5
0
-3
Access method
Auxiliary storage management
Free integrity mechanism
None of the above
Are removed from memory when not in use
Permit data to be hidden from other classes
Bring together all aspects of an entity in one place
Can closely model objects in the real world
Reprehensible
Encapsulated
Overload
Extensible
True
False
True
False
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
real
char
int
null
True
False
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
iostream
iofstream
ios
stdio
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
True
False
True
False
Structure member
Structure tag
Structure variable
The keyword struct.
Two
One
No
None of the above
‘has-a’ relationship
‘is-a’ relationship
association relationship
none of the above