What do you mean by the array in Fortran?
An array is the collection of datatype or variables. An array is stored in a consecutive memory location. Mostly array is used to store the same data types. In Fortran, up to 7-dimensional arrays can be created. Here the arrays are declared with dimension attribute.
Datatype, dimension() :: Array Name