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
A. Are a group of functions with the same name
The for statement itself
The closing brace in a multi-statement loop body
Each statement within the loop body.
The test expression
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
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
True
False
True
False
->
dot operator
::
>>
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++
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
Increase
Reduce
None of the above are correct
string constants in your program
program statements in string form
variables whose type is of string
none of the above
instantiation
function prototype
constructor
structure
declaring them private
by default they are private
by declaring them in the beginning of the program immediately after main()
they are always public
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
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
To allocate storage
To deallocate storage
To delete variable name
None of the above are correct
-a
-o
-c
none of these
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.
Glorified
Encapsulated
Classified
Overloaded
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
try block
throw exception
catch function
abort()
True
False
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
instantiation
function prototype
constructor
destructor
True
False
Virtual copying
Inheritance
Encapsulation
None of these
True
False