Chapter - 9: Arrays

State whether the following statements are True or False:


C
Sections
5
Exercises

A

B

C

D

E

F

G

H

I

J

K

L

1

2

3

4

5

1. The array int num[26] has twenty-six elements.
True.

 

2. The expression num[1] designates the first element in the array
False: The expression num[1] designates the second element of the array.

 

3. It is necessary to initialize the array at the time of declaration.
False.

 

4. The expression num[27] designates the 28th element in the array.
True.


© 2020 Garbage Valuegarbage value logo