A.true
B.false
C.1
D.0
[单选题]下面程序段:boolean a=false;boolean b=true;boolean c=(a&&b)&&(!b);boolean result=(a&b)&(!b);执行完后,正确的结果是A.c=false;result=falseB.c=true,result=trueC.c=true;result=falseD.c=false;result=true
[单选题]下面程序段: boolean a=false; boolean b=true; boolean c=(a||b)&&(b); boolean result=(a|b)&(b); 执行完后,正确的结果是A.c=false;result=falseB.c=true,result=trueC.c=true;result=falseD.c=false;result=true
[单选题]下面程序段: boolean a=false; boolean b=true; boolean c=(a&&B) &&(!B) ; boolean result=(a&B) &(!B) ; 执行完后,正确的结果是( )。A.c=false;result=falseB.c=true,result=trueC.c=tree;result=falseD.c=false;result=trae
[单选题]下列程序的输出结果是______。 int x=3; int y=10; System.out.println(y%x);A.0B.1C.2D.1.0
[单选题]下述程序段的输出结果是 ( ) int x=10; int y=x+ +; printf("%d,%d",(x+ +,y),y+ +);A.11,10,B.11,11C.10,10D.10,11
[单选题]写出下列程序段的输出结果( )。main(){int x=5; int y=10;printf("%d/n",x++); printf("%d/n",++y); }A.5 B.6 C.6 D.5 10 10 11 11
[单选题]有下列程序段:struct st{int x;int*y;}*pt;int a[]={1,2},b[]={3,4};stmct st c[2]={10,a,20,b};pt=c;下列选项中表达式的值为11的是( )。A.*pt->yB.pt->xC.++pt->xD.(pt++)->X
[单选题]有下列程序段: struct st {int x;int *y;}*pt; int a[]={1,2},b[]={3,4}; struct st c[2]={10,a,20,b}; pt=c; 下列选项中表达式的值为11的是( )。A.*pt->yB.pt->xC.++pt->xD.(pt++)->X
[单选题]boolean a=false;boolean b=true;boolean c=(a&&b)&&(!b);boolean result=(a&amboolean a=false; boolean b=true; boolean c=(a&&b)&&(!b); boolean result=(a&b)&(!b); 执行完后,正确的结果是( )。A.c=false;result=falseB.c=true,result
[单选题]下列程序段执行后的输出结果为 ( ) int x=3;int y=10; System.out.println(y%x);A.0B.1C.2D.3