Computer Science - Object Oriented Programming Using C++
|
|
|
|
Exercise"It takes a very long time to become young."
- Pablo Picasso
|
| 16. |
When a multidimensional array is accessed, each array index is |
| A. |
separated by commas | | B. |
surrounded by brackets and separated by commas | | C. |
separated by commas and surrounded by brackets | | D. |
surrounded by brackets |
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
|
| 17. |
To create a variable, you must assign _____ to it |
| A. |
a data type | | B. |
a name | | C. |
both a data type and a name | | D. |
the word var |
Answer: Option D
Explanation:
No answer description available for this question. Let us discuss.
|
| 18. |
You indicate a variable is a pointer variable by placing a(n) _____ in front of the variable's name |
| A. |
asterisk | | B. |
ampersand | | C. |
dollar sign | | D. |
exclamation point |
Answer: Option C
Explanation:
No answer description available for this question. Let us discuss.
|
| 19. |
A function can make_________ |
| A. |
one throw | | B. |
one throw of each scalar type | | C. |
one throw of each programmer-defined type | | D. |
as many throws of as many types as necessary |
Answer: Option E
Explanation:
No answer description available for this question. Let us discuss.
|
| 20. |
A default exception block must be placed _____ |
| A. |
first among the catch blocks | | B. |
last among the catch blocks | | C. |
globally, at the top of the file | | D. |
at the end of all code in the program |
Answer: Option E
Explanation:
No answer description available for this question. Let us discuss.
|
|
|