Traversing 1D Array in Forward direction

Notes:

C Program to Traverse & Print 1D Array in Forward direction:
- Traversing means looping through each element in an array
- i.e. accessing each element in an array using looping or iterative statements

Traversing 1D array in forward direction:
- To traverse 1D array in forward direction; we take help of forward for loop

int numbers[5] = {10,20,30,40,50};
int i=0;
for(i=0; i<5; i++)
{
printf("%d\n", numbers[i]);
}