How Array be traversed with the pointers ?
Answers
Answered by
4
Answer:
The first for loop simply populates each element of the array. ... The second for loop traverses through the array. The int pointer, curr , initially points to the first address of the array then goes on to momentarily hold the address of each element of the array
.Hope it will help you ☺
Similar questions