True
False
A. True
var1 can not be accessed
var1 is a pointer to a pointer of type int
var1 is a protected data type of integer
this type declaration shows an error
True
False
public
friend
private
not possible
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
::
;
<<
->
try block
throw exception
catch function
abort()
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
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
Call-by-Reference
Call-by-Value
Call-by-Pointer
None of the above
string constants in your program
program statements in string form
variables whose type is of string
none of the above
Access method
Auxiliary storage management
Free integrity mechanism
None of the above
True
False
copy constructor
new
instantiation
none of the above
The return type
The number and type of arguments
The class of a function
None of the above
->
dot operator
::
>>
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
True
False
->
dot operator
::
>>
True
False
You can define your data types
Program statements are simpler than in procedural languages.
An OO program can be taught to correct its own errors.
It's easier to conceptualize an OO program.
True
False
‘has-a’ relationship
‘is-a’ relationship
association relationship
none of the above
True
False
True
False
if-else statement
wild cards
no meaning in C++
returns the value
Structure member
Structure tag
Structure variable
The keyword struct.
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