FORTRAN Questions and Answers

Explain what does a DATA statement does?

DATA statements assign a specific value into a Fortran variable before execution of the program. It takes the following form.

• DATA var-list /c-list/[[ ,] var-list/c-list/]