Fortran Programming Question:
Download Questions PDF

How do we know where various steps go in a Fortran program?

Answer:

Some commands have special locations, but most are located by the needs of the specific program. The PROGRAM card is always first. Statements giving variable types (INTEGER, REAL, LOGICAL, CHARACTER, ...) should precede "executable" statements. The END card must always be at the end of the program unit.

Download Fortran Interview Questions And Answers PDF

Previous QuestionNext Question
Where can I get a Fortran Compiler for IBM PC?Why does not Fortran have intrinsic functions for something as simple as factorial?