下列程序的运行结果为()。#deflne MAX(x,y)(x)>(y)?(x):(y)main(){ int a=2,b=3,c=1,d=3,t;printf("%d\n",(MAX(a+b,c+D) )*100);}
A.500
B.5
C.4
D.400
A.500
B.5
C.4
D.400
第6题
下列程序的运行结果为
#include
void main()
{
int a=2:
int b=a+1;
cout <<
}
A.0.66667
B.0
C.0.7
D.0.66666666…
第7题
下列程序的运行结果为()。 #include<stdio.h> main { struct date {int year,month,day; }today; printf("%d\n",sizeof(struct date)); }
A.8
B.6
C.10
D.12
第8题
运行下列程序段后,显示的结果为 J1=23:J2=32 If J1<J2 Then Print J2 Else Print J1
A.23
B.32
C.55
D.2332
第9题
下列程序的运行结果为______。Private Sub Command1_ Click() Dim s As Long Dim x As Integer s = 0 for x = 99 To 1 step - 2 s=s+ x Next x Print sEnd Sub
A.100
B.500
C.2500
D.5000
第10题
A.0.66667
B.0
C.0.7
D.0.66666666…
第11题
下列程序的运行结果为()。 #include<stdio.h> main() { struct date {int year,month,day; }today; printf("%d\n",sizeof(struct date)); }
A.8
B.6
C.10
D.12