Computer Science - Object Oriented Programming Using C++

31.
The function whose prototype is Item getData(void); returns _____
the address of a structure
a copy of a structure
a pointer to a structure
nothing
Answer: Option
Explanation:
No answer description is available. Let's discuss.

32.
Using new may result in less _____ memory than using an array
wasted
used
RAM
ROM
Answer: Option
Explanation:
No answer description is available. Let's discuss.

33.
The most common operation used in constructors is
addition
overloading
assignment
polymorphism
Answer: Option
Explanation:
No answer description is available. Let's discuss.

34.
In a simple 'if' statement with no 'else'. What happens if the condition following the 'if is false?
the program searches for the last else in the program
nothing
control 'falls through' to the statement following 'if
the body of the statement is executed
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

35.
If two types of errors may be thrown, you should write _______
no catch blocks
one catch block with two arguments
two catch block-one with an argument, and one without
two catch blocks with one argument each
Answer: Option
Explanation:
No answer description is available. Let's discuss.