Computer Awareness Quest
Computer Awareness
Which of the following is not an error in the given Fortran statements?
FUNCTION, GRAD (X, N, P, B)
DIMENSION X(N, N+1), B(P,K)
1) The arithmetic expression N + 1 cannot appear in the DIMENSION statement
2) A comma should not be placed before GRAD
3) The variable K cannot appear in the DIMENSION statement since it is not one of the parameters
4) A comma should be placed after the word DIMENSION