Chapter - 9: Arrays

State whether the following statements are True or False:


C
Sections
5
Exercises

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.


© 2021 Garbage Valuegarbage value logo