A one-dimensional array of type long

This program illustrates the use of a simple one-dimensional array in C++.

The program begins by declaring a five-element array where each element in the array is designed to store an integer value of type long.