Which of the following Fortran statements defining subprograms is correct?1) FUNCTION DIV (A, B, C)2) FUNCTION, TEXT (X, A+B, C)3) SUBROUTINE CURL (A, B(2), C)4) SUBROUTINE (X, Y, Z)