下面程序的运行结果是______。 #include < stdio.h > #include < string.h > main() { char a[7]=\abcdef\,b[4]=\ABC
相似题目
-
下面程序的运行结果是______。#include#includevoidmain(){charp1[50]=”abc”,*p2,str[50]=abc
-
下面程序的输出结果是______。 #include void main() { int n=9; while(n > 6){n--; printf(%d,n);} }
-
有以下程序,程序的运行结果是 _________ 。 #include void main() { char ch='Z'; ch=(ch-'A'+1)%26+'A'; putchar(ch); }
-
有以下程序,其中 %u 表示按无符号整数输出,程序运行后的输出结果是 ______ 。 #include main() { unsigned int x=0xFFFF; printf(%u\n,x); }
-
以下程序运行后输出的结果是________。 #include main() { int k=011; printf(%d\nk++); }
-
有以下程序: #include void main() { char a[][10] = {'Morning', 'Afternoon', 'Evening', 'Night'}; printf('%s',a[1]); } 程序运行后的输出结果是__________。
-
下面程序的运行结果是 ______ 。 #include int main() { int i=5; int sub(int n); printf(\%d\\n\,sub(i)); return 0; } int sub(int n) { int a; if(n==1) return 1; a=n+sub(n-1); return(a); }
-
有以下程序:#include#includevoid main(){ char str[][10]={'oneWorld','oneDream!'};printf('%d,',strlen(str[1]));printf('%s ',str[1]);}程序运行后的输出结果是______。
-
有以下程序,其中%u表示按无符号整数输出,程序运行后的输出结果是______。#include < stdio.h> main(){ unsigned int x=0xFFFF; printf(\%u \,x); }
-
有以下程序 include <stdio.h> main() { char a=4; printf("%d/n,a=a<<1); } 程序的运行结果是______。
-
下面程序的运行结果是__。include< stdio.h >main(){ int a[5],i; for(i=0;i< 5;i++) { a=9(i-2+4(i >3))%5; printf(“%2d”,a); } }
-
【填空题】下面程序的运行结果是_______。 include <stdio.h> int main() { int arr[10],i, k=0; for(i=0; i<10; i++) arr[i]=i; for(i=1; i<4; i++) k+=arr[i]+i; printf("%dn", k); return 0; }
-
【填空题】写出下面程序执行后的运行结果。 include< iostream> using namespace std; define RELEASE 0 void main____ { int i;char str[20]="Northwest",c; for ____!='0';i++) { ifdef RELEASE if ____ c=c-32; else if ____ c=c+32; endif cout<<c; } }
-
如下程序的运行结果是______。 include<stdio.h> main() { int x=y=3,z=1; printf ("%d%d\n",(
-
以下程序的运行结果是 _____________ include "stdio.h" void main()x=%d y=%d z=%d
-
要求下面的程序运行后,显示如下结果: 2 10 4 6 1 5 2 3 2 4 7 8 5 1 3 2 下列程序执行后的输出结果是________。 include void main(); }
-
下面程序的运行结果是_________。 include main() {int i=0; char a[]=“abm”,b[]=“aqid”,C[10]; while(a[i]&&b[i]) {if(a[i]>=b[i])C[i]=a[i]一32; else c[i]=b[i]一32; ++i; } c[i]=\0; puts(c); }
-
阅读以下程序,写出程序运行后的输出结果是 ______。include<iostream.h>void main(){char a[]={'
-
下面程序的输出结果是 ______。include<iostream.h>voidmain(){intx=20;int&y=x;cout<<(x==y
-
下面程序的运行结果是__。include< stdio.h >main(){ int a[3][3]={1,2,3,4,5,6,7,8,9},i; for(i=0;i<=2;i++) printf(“%d “,a[2-i]); }
-
以下程序的运行结果是________。 include int workover() { i=i<=2 5:0; return i; }
-
以下程序运行后的输出结果是 ______。 include <stdio.h> struct NODE { int k; char s[20
-
以下程序若运行时输入ABC,则输出结果是______。 include include void main(); }
-
下面程序段的运行结果是__________。 include<stdio.h>main(); t ++ ; } }
推荐题目
- 快件封发作业是按一定要求将快件封成()并交运的工作过程。
- 《戈丹》是普列姆昌德晚年的代表作()?
- 钢的碳当量CE<0.4%时,其焊接性能()。
- ()是行政处罚的主要类别。
- 当油舱装有闪点小于()的油品时,油舱系统宜配备惰性气体装置。
- 自动闭塞区间同方向相邻的两架色灯信号机间,以该线上的通过信号机柱的中心线为闭塞分区的分界线。
- 女性,26岁,在购物时突然尖叫一声,即刻倒地,四肢痉挛性抽搐,口吐血红色泡沫,小便失禁,持续约3分钟,被人送至医院。追问病史,近两日精神不振,头痛头晕,全身不适,常可闻及异常怪味。既往无特殊,否认外伤史。头颅CT见左颞叶内直径约2cm等密度影。继发性癫痫三大主因是()。
- 排水方式有几种?
- 请问,这是什么产品的广告?168f4fd6772f443a03516ce3bff8fb46.jpg
- 患儿在进餐中突然出现严重呼吸困难,伴发绀。 急诊初步判断为异物吸入,该患 儿的异物最有可能吸人的部位是 (1.0分)