True
False
A. True
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
True
False
Class C is friend of class A
Class A is friend of class C
Class A and Class C do not have any friend relationship
None of the above
::
;
<<
->
iostream
iofstream
ios
stdio
The return type
The number and type of arguments
The class of a function
None of the above
True
False
A constant
A variable
A structure
A header file
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
True
False
True
False
string constants in your program
program statements in string form
variables whose type is of string
none of the above
Compare two numeric values
Combine two numeric values
Compare two Boolean values
Combine two Boolean values
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
10
20
55
there is an error in the program
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++
True
False
True
False
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
To dynamically allocate storage
To statically allocate storage
To allocate storage for a new variable
None of the above are correct
Encapsulation
Data dependency
Inheritance
Instantiation
references are pointers
array of references can be created
you can not reference a reference variable
all of the above
True
False
try block
throw exception
catch function
abort()
copy constructor
new
instantiation
none of the above
True
False
if-else statement
wild cards
no meaning in C++
returns the value
True
False
True
False