To dynamically allocate storage
To statically allocate storage
To allocate storage for a new variable
None of the above are correct
C. To allocate storage for a new variable
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
Two
One
No
None of the above
Private
protected
public
None of the above are correct
new
volatile
static
==
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
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
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
To dynamically allocate storage
To statically allocate storage
To allocate storage for a new variable
None of the above are correct
instantiation
function prototype
constructor
destructor
Increase
Reduce
None of the above are correct
10
20
55
there is an error in the program
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
instantiation
function prototype
constructor
structure
Automatic assignment of data to object during instantiation
Automatic call of a function
To declare a local variable
It is not a keyword in C++
Virtual copying
Inheritance
Encapsulation
None of these
Structure member
Structure tag
Structure variable
The keyword struct.
True
False
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
pure class
abstract class
base class
derived class
True
False
real
char
int
null
The for statement itself
The closing brace in a multi-statement loop body
Each statement within the loop body.
The test expression
references are pointers
array of references can be created
you can not reference a reference variable
all of the above
True
False
-a
-o
-c
none of these
The normal cout<< combination
The cin.get() function with one argument
The cin.get() function with two argument
The cin.get() function with three argument
True
False
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
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