Question: In some implementations of Fortran IV, the following code would print a 3. Can you suggest an explanation? How do you suppose more recent Fortran
In some implementations of Fortran IV, the following code would print a 3. Can you suggest an explanation? How do you suppose more recent Fortran implementations get around the problem?
c main program
call foo(2)
print*, 2
stop
end
subroutine foo(x)
x = x + 1
return
end
Step by Step Solution
3.51 Rating (164 Votes )
There are 3 Steps involved in it
On a machine without an immediate addressing mode constants ... View full answer
Get step-by-step solutions from verified subject matter experts
