下面程序的运行结果是__。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#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]);}程序运行后的输出结果是______。
-
下面程序的运行结果是______。 #include < stdio.h > #include < string.h > main() { char a[7]=\abcdef\,b[4]=\ABC
-
有以下程序 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<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<stdi0.h> voidmain() {char*a[]={"abcd","ef","gh","ijk");inti; for(i=0;i<4;i++)printf("%C",*a[i]); } 程序运行后的输出结果是()。
-
有以下程序:# include <stdio.h># include <string.h>main(){char x[]="STRING";x[0]=0;x[1]="\0";x[2]="0";printf("%d%d\n", sizeof(x),strlen(x));}程序运行后的输出结果是______。
-
下面程序的输出结果是 ______。include<iostream.h>voidmain(){intx=20;int&y=x;cout<<(x==y
-
以下程序的运行结果是________。 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 ++ ; } }
推荐题目
- 以下哪种食物最可能引起亚硝酸盐食物中毒?()
- 下列()参数与井深校正无关。
- 美国护士协会在1980年提出:"每个人对自身存在的或潜在的健康问题,必有一定的表现和反应",对这种反应的诊断和治疗即称为()
- 含量均匀度检查时,应一次配够测定所用溶剂。
- 女性,35岁,近两个月来出现右睑下垂,睁眼费力,同时出现双下肢无力,行动不便。症状呈波动性,晨轻暮重,疲劳试验(+),新斯的明试验(+),血清乙酰胆碱受体抗体(+),此患者给予新斯的明和肾上腺皮质激素治疗,效果显著。采用新斯的明治疗的机制是()
- 静态磁头又称磁通响应式磁头,它有()磁头。
- 什么是正胀差?
- 企业年度内实现的净利润首先弥补以前年度亏损,然后再提取盈余公积金。()
- 在倒母线操作过程中(无特殊情况下),母差保护应退出运行。()
- 数据分析口径一致是指()