copy constructor
new
instantiation
none of the above
A constant
A variable
A structure
A header file
True
False
Structure member
Structure tag
Structure variable
The keyword struct.
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
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
iostream
iofstream
ios
stdio
True
False
A file in which recoreds are arranged in a way they are inserted in a file
A file in which records are arranged in a particular order
Files which are stored on a direct access storage medium
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
if-else statement
wild cards
no meaning in C++
returns the value
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
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++
The for statement itself
The closing brace in a multi-statement loop body
Each statement within the loop body.
The test expression
public
friend
private
not possible
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
private and protected members
public members only
private members only
None of the above are correct
True
False
->
dot operator
::
>>
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
Two
One
No
None of the above
real
char
int
null
True
False
Call-by-Reference
Call-by-Value
Call-by-Pointer
None of the above
instantiation
function prototype
constructor
structure