执行下列程序段,结果是 include<iostream.h> void main() { int x=40; char y='C'; int n; n=(x&0xff)&&(y>'B'); cout<<n;}
相似题目
-
下列程序段的执行结果是()。
-
下面程序段的运行结果是( )注意输出结果的格式#include void main(){char *p=”abcdefgh”;p+=3;printf(%s\n,p);}
-
阅读下列程序,则在执行后,程序的运行结果为( ).#include stdio.h#include string.hmain( ){ char a[30]=nice to meet you!
-
有如下程序段,执行后的输出结果是______。 #include void main() { struct a { int x; int y; }num[2]={{20,5},{6,7}}; printf('%d',num[0].x/num[0].y*num[1].y); }
-
有下列程序 #include void main() { int a=0,b=0,c=0; if (++a || ++b && ++c) printf('%d,%d,%d', a, b, c); } 程序执行后的输出结果是________。
-
有以下程序段#include “stdio.h”main(){ char ch1,ch2;int n1;n2;ch1=getchar(); ch2=getchar();n1=ch1-’0’;n2=n1*10+(ch2-‘0’);printf(“%d\\n”;n2)} 程序运行时输入:12,执行结果是 【1】 。
-
下面程序段执行后输出的结果是()include<stdio.h>main(){int a[2][2]={{1,2),{5,7)),*P,i;p=&a[0][0];for(i=0;i<2;i++)"P++=i+1:printf("%d",*(p-2));}
-
阅读下面程序段,则执行后的结果为include "stdio.h"main(){ int m=4,n=2,k;k=fun(m,n);printf("%d\n",k);}fun(int m,int n){ return(m*m*m-n*n*n);}
-
下述程序执行的输出结果是()。 include<stdio.h> main() {char a[2][4]; , strcpy(
-
下列程序的执行结果是______。include<stdio.h>union un{int i; char c[2};};void main(){union
-
下列程序的执行结果为include<iostream.h>void main(){ int a=3,b=0; int * p=&a; b=+a++;
-
下列程序段的输出结果是include<iostream.h>void fun(int*x,int*y){cout<<*x<<*y;*X=3;*y=4;}vo
-
要求下面的程序运行后,显示如下结果: 2 10 4 6 1 5 2 3 2 4 7 8 5 1 3 2 下列程序执行后的输出结果是________。 include void main(); }
-
执行下列程序段时输出结果是() }
-
下列程序段执行后的结果是()); }
-
有下列程序 include<stdio.h>main()); } 程序执行时若输入: welcome you to beijing<回车>,则输出结果是
-
以下程序段的执行结果为()。include< iostream.h>definePLUS(x,y)x+yvoid main (){int x=1,y=2,
-
下列程序的执行结果为()。include<iostream.h>void main{int a=3,b=0;int*P =&a;b=+a+
-
设已执行预编译命令include<string.h>,以下程序段的输出结果是char s[]=" an apple" ;printf(" %d\n",strlen(s));
-
下列程序执行输出的结果是()。include<stdio.h>f(int a){ int b=0;static c=3;a=c++;b++;return(
-
下面程序段的运行结果是 include<iostream.h> void main() {char*s="abcde"; S+=2;
-
现有如下程序段,则程序段的输出结果为【16】。 include’stdio.h’ intfun()}
-
下面程序段的运行结果是__________。 include<stdio.h>main(); t ++ ; } }
-
以下程序的执行结果是() include {inti=10,j=10; printf("%d,%d/n",++i,j--); }。
推荐题目
- 按地测标准化要需具备的地质卡片有:钻孔成果卡片、地质构造素面卡片、()
- 司法审查
- 当木结构施工需要采用国家现行有关标准尚未列入的新技术(新材料、新结构、新工艺)时,建设单位应征得当地建筑工程质量行政主管部门同意,并应组织专家组,会同()单位进行论证,同时应确定施工质量验收方法和检验标准,并应依此作为相关木结构工程施工的主控项目。
- 萎缩性鼻炎鼻部恶臭的主要原因()
- 商誉发生减值后,在相关资产或资产组的持有期间是可以转回的。( )
- 教师是人们日常生活中频繁涉及到的一个感念,关于教师表述正确的有()
- 专题民主生活会的会前准备主要有哪些?
- 典型故障主要包括()、不对中、松动、齿轮故障、()等。
- 从受力特征的不同,高强度螺栓连接可分为抗拉型和抗剪型两种。()
- 矿用隔爆磁力起动器的隔离开关与前门之间有可靠的机械闭锁装置。()