下列程序执行后的输出结果是() main() { int x='f'; printf(""%c \n"",'A'+(x-'a'+1)); }
有以下程序: #include void main() { char a[][10] = {'Morning', 'Afternoon', 'Evening', 'Night'}; printf('%s',a[1]); } 程序运行后的输出结果是__________。
有以下程序 #include void main() { int y=10; while(y--); printf('y=%d',y); } 程序执行后的输出结果是_______。
以下程序执行后的输出结果是________。 #include \stdio.h\ void main() { int i; for(i=1;i<=40;i++) { if(i++%5==0) if(++i%8==0) printf(\%d\,i); } printf(\\\n\); }
有以下程序#include #include main(){ char str[ ][20]={“One*World”, “One*Dream!”},*p=str[1];printf(“%d,”,strlen(p));printf(“%s ”,p);}程序运行后的输出结果是( )
有如下程序段,执行后的输出结果是______。 #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#includevoid main(){ char str[][10]={'oneWorld','oneDream!'};printf('%d,',strlen(str[1]));printf('%s ',str[1]);}程序运行后的输出结果是______。
以下程序程序运行后的输出结果是_____。#include#define MA(x) x*(x-1)void main(){ int a = 1, b = 2;printf('%d ', MA(1+a+b));}
有下列程序 #include void main() { int a=0,b=0,c=0; if (++a || ++b && ++c) printf('%d,%d,%d', a, b, c); } 程序执行后的输出结果是________。
有一下程序 #include int main() { int k=5; while(--k) { printf(\%d\,k-=3); } printf(\\\n\); return 0; } 执行后的输出结果是
有下列程序,程序运行后的输出结果是0( )。#include int main( ){int a[5]={1,2,3};printf(\%d \,a[3]);return 0;}
有以下程序: include <stdio.h> void f(); } 执行后的输出结果【 】。
有以下程序: include <stdio.h> main() { char k; int i; for(i=1;i<3;i++) { scanf("%c",&k); switch(k) { case &39;0&39;: printf("another\n"); case &39;1&39;: printf("number\n"); } { } 程序运行时,从键盘输入:01<回车>,程序执行后的输出结果是()。
有以下程序: include main() {int a=1,b=0; printf("%d,",b=a+b); printf("%d\n",a=2+b); ‘’ } 程序运行后的输出结果是()。
有下列程序:include<stdio.h>main(){ int a=6,b=7,m=1;switch(a%2){ case 0:m++;break;case 1:m++;switch(b%2){ defaut:m++;case0:m++;break;}}printf("%d\n",m);}程序运行后的输出结果是()。
要求下面的程序运行后,显示如下结果: 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<stdio.h> include<string.h> main() {char str[][20][{"One*World","One*Dream!"},*p=str[1]; prinft("%d,",strlen(p));printf("%s\n",p); } 程序运行后的输出结果是()。
◑有以下程序◑include◑include◑main( )◑{char x[]=“STRING”;◑x[0]=0;x[1]=’\0’;x[2]=’0’;◑printf(”%d%d\n”,sizeof(x),strlen(x));◑}◑程序运行后的输出结果是( )。◑6 1◑7 0◑6 3◑7 1
有下列程序,程序运行后的输出结果是( )。 #include <stdio.h> int main() { int i,sum; for (i=1;i<6;i++) sum+=sum; printf("%d",sum); return 0; }
有以下程序:include<stdio.h>main(){ina=5,b=1,t;t=(a<<2)|b;printf("%",t);}程序运行后的输出结果是()
有以下程序 include <stdio.h> main() { int a=1, b=3, c=5; int *p1=&a, *p2=&b, *p=&c; *p =*p1*(*p2); printf("%d\n",c); }执行后的输出结果是()
有以下程序include <stdio.h>main){ ina=-1b=-1;for(a;)++b;printf("%d,%"ab);}程序运行后的输出结果是()
有以下程序include<stdio.h>main{inty=10;while(y--);printf(y=%d\n,y);}程序执行后的输出结果是()