下面程序的运行结果是 #include \stdio.h\ int main() { int x=-5; do { printf(\%3d\,x+=2); }while (!(x++)); return 0; }
下面程序的运行结果是______。 #include < stdio.h > #include < string.h > main() { char a[7]=\abcdef\,b[4]=\ABC
如果在下面程序运行时输入123456,程序的运行结果是【 】。 include<stdio.h>int main(); }
以下程序的运行结果是【 】。 include<stdio.h> main() { int fun(); fun();} fun (
有以下程序: include<stdio.h> main() {printf("%d\n",NULL)); 程序运行后的输出结果是()。
从键盘输入1 2 3 4 5 -1 回车,则下面程序运行的结果是() include <stdio.h> int main(void) { int n, k = 0; while(scanf(“%d”,&n), n != -1) { k += n; } printf(“k=%d, n=%d”, k, n); return
下面程序的运行结果是__。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); } }
当运行以下程序时,从键盘输入AhaMA(空格)Aha<CR>,则下面程序的运行结果是include<stdio.h>main(){ char s[80],c=′a′;int i=0;scanf("%s",s);while(s[i]!=′{ if(s[i]==c)s[i]-32;else if(s[i]==c-32)s[i]=s[i]+32;i++; }puts(s); }
以下程序的运行结果是()。 include<stdio.h> define MIN(x,y) (x)<(y)? (x):(y)
include<stdio.h>main(); } 程序运行后的输出结果是
若运行下面程序时,给变量a输入15,则输出结果是 include <stdio.h> intmain() { int a,b; scanf("%d",&a); b=a>15?a+10:a-10; printf("%d\n",b) ; return 0; }
写出下面程序执行后的运行结果。 include <stdio.h> define N 2 define M N+1 define N
下面程序段的运行结果是()。 include<stdio.h> void main() {char str[]="ABC",*p=str; pfintf("%d\n",*(p+3)); }
下面程序的运行结果是()。 inelude<stdio.h> void del(char*s) { int i,j; char*a; a=s:
下面程序的运行结果是()。include<stdio.h>main(){int y=10; do{y--;}while(--y); printf("%d\n"
有以下程序 include<stdio.h>include<string.h>void fun(); } 程序运行后的输出结果是
下面程序的运行结果是__。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]); }
有以下程序includ<stdio.h>main(){printf("%"NUL);}程序运行后的输出结果是()
给出下面程序的运行结果。include<stdio.h>intmain();return0;}
运行下面程序,输出结果是: include <stdio.h> int main() { int i = 10,j = 0; do { j = j + i; /*第一:10,第二:19第三:27第四:34第五:40*/ i--; }while(i > 5); printf(“%d\n”,j); }
有以下程序include ’stdio.h’min()} 程序的运行结果是3 B.5C.7 D.8
有以下程序 include<stdio.h> include<stdio.h> intfun()); } 程序的运行结果是10 B.20 C.0 D.出错
下面程序段的运行结果是__________。 include<stdio.h>main(); t ++ ; } }
5、下面程序的运行结果是 。 include <stdio.h> main() {char ch[7]={“12ab56”}; int i,s=0; for(i=0;ch[i]>=’0’&&ch[i]<=’9’;i+=2) s=10*s+ch[i]-‘0’; printf(“%d”,s); }