A: 50
B: 5
C: 25
D: 0
举一反三
内容
- 0
现有如下程序段 #include"stdio.h" main() {int a[5][6]={23,3,65,21,6,78,28,5,67,25,435,76,8,22,45,7,8,34,6,78,32,4,5,67,4,21,1}; int i=0,j=5; printf"%d ",*&a[0][0]+2*i+j-2;} 则程序的输出结果为.
- 1
有如下事件程序,运行该程序后输出结果是_________。 Private Sub Command33_Click() Dim x As Integer, y As Integer x=1:y=0 Do Until y<=25 y=y+x*x x=x+1 Loop MsgBox "x=" & x &",y=" & y End Sub A: x=1,y=0 B: x=4,y=25 C: x=5,y=30 D: 输出其他结果
- 2
写出以下程序运行结果。const int N=5; public static void Main (){ int a = 0; for(int i=1; i<;N; i++) { int c=0, b=2; a+=3; c=a+b; Console.write (c + “ ” ); }程序运行后输出结果为:____
- 3
现有如下程序段 #include"stdio.h" main() {int a[5][6]={23,3,65,21,6,78,28,5,67,25,435,76,8,22,45,7,8,34,6,78,32,4,5,67,4,21,1}; int i=0,j=5; printf("%d\n",*&a[0][0]+2*i+j-2);} 则程序的输出结果为.
- 4
如下代码,运行结果为() A: 0 B: 输出null C: 编译错误 D: 编译正确,运行错误