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...

Each local storage device on a Windows-based computer is identified by a unique device letter, which for the hard disk is usually _____.

A. A B. C C. B D. D

Computer Science & Information Technology

The first argument of the AVERAGEIF function is ________

A) average_range B) criteria C) logical_test D) range

Computer Science & Information Technology

Microwave communication uses high-frequency ________.

A. satellite communications B. radio waves C. infrared D. optic fibers

Computer Science & Information Technology

?Hypertext Markup language (HTML) version _____ added support for style sheets to give web designers greater control over page layout and appearance.

A. ?3.2 B. ?2.0 C. ?3.0 D. ?4.01

Computer Science & Information Technology