Is it possible to write code in this manner for a C++ program?

```
#define size 20
int main()
{
int numbers[size];
}

```

A. Yes, this is perfectly acceptable C++ code.
B. No, the array dimension cannot be a variable.
C. The compiler would report that there is an illegal use of a keyword.
D. Yes, you could write it this way, but you would be wrong.

A. Yes, this is perfectly acceptable C++ code.

Computer Science & Information Technology

You might also like to view...

For the address 192.86.26.97/29, what is the binary conversion of the broadcast address?

A) 11000000 01010110 00011010 01100000 B) 11000000 01010110 00011010 01101111 C) 11000000 01010110 00011010 01100111 D) 11000000 01010110 00011010 01101000

Computer Science & Information Technology

If a switch statement has no ________ statements, the program "falls through" all of the statements below the one with the matching case expression.

A) break B) exit C) case D) default E) relational

Computer Science & Information Technology