Declaration of one dimensional array : Like any other variable, arrays must be declared before they are used. The general form of array declaration is,
The type specifies the type of elements that will be contained in the array, such as int, float etc. The size indicates the maximum number of element that can be stored inside the array. For example,
This declares the height to be an array containing 50 real numbers.