scope resolution operator
global operator
Both (a) & (b)
None of these
A. scope resolution operator
True
False
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
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
True
False
copy constructor
new
instantiation
none of the above
scope resolution operator
global operator
Both (a) & (b)
None of these
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
True
False
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
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++
public
friend
private
not possible
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
True
False
Goes in the object to the right of the operator
Goes in the object to the left of the operator
Goes in the object of which the operator is a member
Must be returned
True
False
From the point of definition onwards in the program
From the point of definition onwards in the function
From the point of definition onwards in the block
Throughout the function
instantiation
function prototype
constructor
destructor
True
False
True
False
True
False
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
Glorified
Encapsulated
Classified
Overloaded
template class
a generic class
exception
identifier
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
declaring them private
by default they are private
by declaring them in the beginning of the program immediately after main()
they are always public