Any loop can be used to iterate through the array elements. Example : Example Output
Category: Arrays in C++
Arrays in C++
An array is a consecutive group of memory locations that all have the same type. To refer to a particular location or element in the array, we specify the name of the array and...