执行下列程序段,结果是includevoid main( ){int x=40; char y='C'; int n; n=(x0xff)(y>'B'); cout<<n;}A.0B.1C.2D.3

执行下列程序段,结果是includevoid main( ){int x=40; char y='C'; int n; n=(x&am

执行下列程序段,结果是 #include<iostream.h> void main( ) { int x=40; char y='C'; int n; n=(x&0xff)&&(y>'B'); cout<<n;}

A.0

B.1

C.2

D.3


相关考题:

下列程序的运行结果是()。includevoid fun (int *a,int*b){int*kk=a;a=b;b=k}void 下列程序的运行结果是( )。 #include< iostream.h> void fun (int *a,int*b) {int*k k=a;a=b;b=k} void main() {int a=2004, b=9,*x=a,*y=b; fun(x, y) ; cout<<a<<" "<<b<<endl:}A.20049B.92004C.0D.编译时出错

下列程序的输出结果是()。 include define F(x)2.84+x define w(y)printf("%d",(int) 下列程序的输出结果是( )。#include<stdio.h>#define F(x)2.84+x#define w(y)printf("%d",(int)(y))#define P(y)w(y)putchar('\n')main(){ int x=2;P(F(5) *x);}A.12B.13C.14D.16

以下程序的输出结果是includevoid prt(int *x,int*y,int*z){ printf("%d,%d,%d\n",++* 以下程序的输出结果是 #include<stdio.h> void prt(int *x,int*y,int*z) { printf("%d,%d,%d\n",++*x,++*y,*(z++));} main() { int a=10,b=40,c=20; prt(a,b,c); prt(a,b,c);}A.11,42,31 12,22,41B.11,41,20 12,42,20C.11,21,40 11,21,21D.11,41,21. 12,42,22

以下程序的输出结果是______。includevoid prt(int*x,int*y,int*z){printf("%d,%d,%d\n 以下程序的输出结果是______。 #include<stdio.h> void prt(int*x,int*y,int*z) { printf("%d,%d,%d\n",++*x,++*y,*(z++));} int a=10,b=40,c=20; main() { prt(a,bc) prt(a,b,c); }A.11,42,31 12,22,41B.11,41,20 12,42,20C.11,21,40 11,21,41D.11,41,21 12,42,22

以下程序的输出结果是()。includevoid prt(int*x,int*y,int*z){printf("%d,%d,%d\n",++ 以下程序的输出结果是( )。 #include<stdio.h> void prt(int *x,int *y,int *z) { printf("%d,%d,%d\n",++ *x,++ *y,*(z++));} main() { int a=10,b=40,c=20; prt(a,b,c); prt(a,b,c); }A.11,42,31 12,22,41B.11,41,20 12,42,20C.11,21,40 11,21,21D.11,41,21 12,42,22

下列程序段的输出结果是includevoid fun(int * x,int * y){cout 下列程序段的输出结果是 #include<iostream.h> void fun(int * x,int * y) { cout << * X << * y; *X=3; *y=4; } void main() { int x=1,y=2; fun(y,x); cout << X << y<<endl; {A.2143B.1212C.1234D.2112

以下程序的输出结果是()。includevoid prt(int *x,int *y,int *z){printf("%d,%d,%d\n" 以下程序的输出结果是( )。 #include<stdio.h> void prt(int *x,int *y,int *z) {printf("%d,%d,%d\n",++*x,++*y,*(z++));} main() {inta=10,b=40,c=20; prt(a,b,C); prt(a,b,C);}A.11,42,31 12,22,41B.11,41,20 1,42,20C.11,21,40 11,21,21D.11,41,21 12,42,22

下列程序段的输出结果是includevoid fun(int*x,int*y){cout 下列程序段的输出结果是 #include<iostream.h> void fun(int*x,int*y) {cout<<*x<<*y; *X=3; *y=4; } void main() {int x=1,y=2; fun(&y,&x); cout<<X<<y<<endl; }A.2143B.1212C.1234D.2112

下列程序段的输出结果是 include void fun(int * X,int * y) {cout 下列程序段的输出结果是 #include<iostream.h> void fun(int * X,int * y) { cout < < * X < < * y; * X=3; * y=4; } void main( ) { int x=1,y=2; fun(y,x); cout < < X < < y < < end1; }A.2143B.1212C.1234D.2112

执行下列程序段,结果是 #include(iostream.h> void main() { int x=40; char y=‘C’;int n; n=(x0xff)(y>‘B’); cout<<n;}A.0B.1C.2D.3