[Fortran] syntaxhighlighter_viewsource syntaxhighlighter_copycode Program Main
Implicit None
Call Test
Call Test
Stop
End Program Main
Subroutine Test
Implicit None
Integer :: J
Integer :: I = 2
J = 2
J = J + J
I = I + I
Write (*, *) J, I
End Subroutine Test 请教各位大神,为什么第一次call test输出是4,4;第二次call test输出的是4,8 ?
|