230k views
1 vote
Index addressing is for traversing arrays.

True

False

User Breadtruck
by
4.8k points

1 Answer

3 votes

Answer:

False.

Step-by-step explanation:

Index addressing is not for only traversing the arrays but to also access the element,manipulate them.Though indexing is also used in traversing but it is not solely for that.Indexing in an array starts from 0 to size-1.

for example:-

We have an array a of size 10.So to access the element at position 6.We have to write.

a[5];

Manipulating it

a[5]=6;

User Pixielex
by
5.7k points