Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

A function argument is
A:
a variable in the function that receives a value from the calling program
B:
a way that functions resist accepting the calling program's values
C:
a value sent to the function by the calling program
D:
a value returned by the function to the calling program
Answer: C
No answer description is available. Let's discuss.
When the compiler cannot differentiate between two overloaded constructors, they are called______
A:
overloaded
B:
destructed
C:
ambiguous
D:
dubious
Answer: C
No answer description is available. Let's discuss.
Typing the function's name as Main, rather than main, is an example of
A:
an entry error
B:
a function error
C:
a logic error
D:
a syntax error
Answer: D
No answer description is available. Let's discuss.
Software that can be used in applications other than the one for which it was originally written is called
A:
recyclable
B:
inherited
C:
reusable
D:
cheating
Answer: C
No answer description is available. Let's discuss.
A constructor may be _____
A:
provided automatically by C++
B:
written by you
C:
either (a) or (b).
D:
neither (a) nor (b).
Answer: C
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz