Which of the following array declarations are legal?

a. int array[10];
b. int size;
cin >> size;
int array[size];
c. int array[]={0,0,0};
d. const int size=9;
int array[size];
e. All of the above
f. All but C
a. int array[10];
b. int size;
cin >> size;
int array[size];
c. int array[]={0,0,0};
d. const int size=9;
int array[size];
e. All of the above
f. All but C
g. All but B

g. All but B

Computer Science & Information Technology

You might also like to view...

__________ refers to the physical components that a computer is made of.

a. Input b. Main memory c. Control unit d. Hardware

Computer Science & Information Technology

A computer lab is an example of a(n) ________ type of network.

What will be an ideal response?

Computer Science & Information Technology