Object Oriented Programming Using C Plus Plus - Study Mode

[#186] A constructor may be _____
Correct Answer

(C) either (a) or (b)

[#187] Software that can be used in applications other than the one for which it was originally written is called
Correct Answer

(C) reusable

[#188] Typing the function's name as Main, rather than main, is an example of
Correct Answer

(D) a syntax error

[#189] The difference between a return and a throw is that _____
Correct Answer

(D) with a return, execution takes place at the location from which the function was called

[#190] Which is a good reason for passing a variable's address to a function?
Correct Answer

the function will have a copy of the variable