159k views
2 votes
How are arrays processed? Explain with an example.

User Vitox
by
7.6k points

1 Answer

5 votes
Arrays are processed Generally, you iterate through the array, processing each element:
for( int i = 0; i < array.length(); i++ ) // process array[i];
User Wuxiandiejia
by
7.6k points