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

True

False

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;

answered
User Pixielex
by
8.6k points