Introduction
Array traversal means looking at each item in an array one by one. It helps us use or check every element in the list.
When you want to print all items in a list.
When you want to find a specific value inside an array.
When you want to change or update every element in a list.
When you want to calculate something using all elements, like sum or average.