Which of the following is not a valid way to establish an array in a subroutine beginning:

SUBROUTINE XYZ(X,N,M)

PARAMETER (MM=10)


Dimension X(*)

Dimension X(MM)

Real X(*)

Real X(N:M)

None, all of the above are valid


Back to the 201 Homepage or Back to the main exercise reference page