C File hello.f subroutine foo (a) integer a print*, "Hello from Fortran!" print*, "a=",a end