下面程序段的运行结果是()。DIMENSIONM(3,3)DATAM/1,2,3,4,5,6,7,8,9/DO10i=1,3WRITR(*,100)(M(i,J),J=1,i))10CONTINUE100FORnIAT(1X,3I2)END
下面程序段的运行结果是()。DIMENSIONM(3,3)DATAM/1,2,3,4,5,6,7,8,9/DO10i=1,3WRITR(*,100)(M(i,J),J=1,i))10CONTINUE100FORnIAT(1X,3I2)END
A.125369
B.123456789
C.147258369
D.123456
正确答案:A
答案解析:数组元素按列存放。