Chapter - 9: Arrays

Which element of the array does this expression reference? num[4]


C
Sections
3
Exercises

A

B

C

D

E

F

G

H

I

J

K

L

1

2

3

4

5

Ans: 5th Element. Index of the array starts from 0, so nth index refers to the (n+1)th element.


© 2020 Garbage Valuegarbage value logo