True
False
B. False
instantiation
function prototype
constructor
structure
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
::
;
<<
->
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
Only from the innermost loop
Only from the innermost switch
From all loops and switch
Only from the innermost loops or switch
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
private and protected members
public members only
private members only
None of the above are correct
10
20
55
there is an error in the program
The loop in which it occurs
The block in which it occurs
The function in which it occurs
The program in which it occurs
True
False
True
False
True
False
if-else statement
wild cards
no meaning in C++
returns the value
True
False
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
True
False
True
False
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
Access method
Auxiliary storage management
Free integrity mechanism
None of the above
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
To dynamically allocate storage
To statically allocate storage
To allocate storage for a new variable
None of the above are correct
True
False
True
False
try block
throw exception
catch function
abort()
Call-by-Reference
Call-by-Value
Call-by-Pointer
None of the above
sixth
seventh
eighth
impossible to tell
+
new
all
None of these
declaring them private
by default they are private
by declaring them in the beginning of the program immediately after main()
they are always public
copy constructor
new
instantiation
none of the above