下列程序的运行结果是( )。
#include<stdio.h>
main()
{int x=5,a=1,b=2,C=5,d=0;
if(a<B)
if(b!=3)
if(!C)
x=1;
else
if(D) x=1;
else x=-1;
printf("%d",x);
}
A.-1
B.0
C.1
D.不确定的值
[单选题]下列程序的运行结果是() include main() {int x=5,a=1,b=2,c=5,d=0; if(a
[单选题]下列程序的运行结果是()#include main(){int a=2,c=5;printf("a=%d,b=%d/n",a,c);}A . a=%2,b=%5B . a=2,b=5C . a=d,b=dD . a=%d,b=5d
[主观题]以下程序段的运行结果是( )。 include main() {int x=2,y=1: switch(x) {case 1: switch以下程序段的运行结果是( )。 include<stdio.h> main() {int x=2,y=1: switch(x) {case 1: switch(y) {case 0:printf("x=2,y=1/n");break; case 1:printf("y=1/n");break; } case 2:printf("x=2/n");
[单选题]下列程序的运行结果是()。 include main() {int a=0,b=4,c=0,d=10,x; if(a) d=d£10; e1下列程序的运行结果是( )。#include<stdiO.h>main(){ int a=0,b=4,c=0,d=10,x;if(a)d=d-10;e1seif(!B)if(!C)x=15;elsex=25;printf("%d/n",D) ;}A.5B.3C.20D.10
[单选题]下列程序的运行结果是()。 include main() {int a=2,b=3,c=4;ifa
[单选题]以下程序的运行结果是() include main() { int a=015,b=22; printf("%d,%d/n",a以下程序的运行结果是 ( ) # include<stdio.h> main( ) { int a=015,b=22; printf("%d,%d/n",a+ +,- -b); }A.15,22B.15,21C.13,21D.14,21
[单选题]下列程序的运行结果是()。include main(){int a=2,b=3,c=4; if(a
[单选题]下面程序的运行结果是 include Void main( ) { int num=1; int &ref=num;ref=下面程序的运行结果是#include<iostream.h>Void main( ){int num=1;int &ref=num;ref=ref+2;cout < < num;num=num+3;cout < < ref < <endl;}A.13B.16C.36D.33
[单选题]下面程序的运行结果是 include void main( ) { int i=1; while(i <=8) if(£«£«i%3!下面程序的运行结果是#include<iostream.h>void main( ){int i=1;while(i <=8)if(++i%3!=2) continue;else cout < < i;}A.25B.36C.258D.369
[单选题]以下程序的输出结果是 include void main( ) {int x=1,y=3; cout < < x£«£« < < ","以下程序的输出结果是#include<iostream.h>void main( ){int x=1,y=3;cout < < x++ < < ",";{int x=0;x+=y * 2;cout < < x < <"," < < y < <",";}cout < < x < < "," < < y;}A.1,6,3,1,3B.1,6,3,6