网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
以下程序的输出结果是 main() { char c='z'; printf("%c",c-25);}
A.a
B.Z
C.z-25
D.y
参考答案
更多 “ 以下程序的输出结果是 main() { char c='z'; printf("%c",c-25);}A.aB.ZC.z-25D.y ” 相关考题
考题
下述程序的输出结果是()。includevoid main(){char a=3,b=1;char c=a^b
下述程序的输出结果是( )。 #include<stdio.h> void main() {char a=3,b=1; char c=a^b<<2; printf("%d",C; }A.1B.7C.3D.2
考题
以下程序的输出结果是()includemain(){struct stru{int a,b:char c[6];}:printf("%d\n
以下程序的输出结果是 ( ) #include<stdio.h> main() {struct stru{int a,b: char c[6]; }: printf("%d\n",sizeof(stru)), }A.2B.4C.8D.10
考题
下面程序的输出结果是( )。 include main() {static char a[]="china"; char*ptr=a; whi
下面程序的输出结果是( )。 include<stdio.h> main() {static char a[]="china"; char*ptr=a; while(*ptr) {printf("%c",*ptr-32); ptr++; } }
考题
以下程序的输出结果是( )。 main {int x=0.5;char z=a; printf("%d\n",(x2));}A.0S
以下程序的输出结果是( )。 main {int x=0.5;char z=a; printf("%d\n",(x&1)&&(z2));}A.0B.1C.2D.3
考题
以下程序的输出结果是 ( ) main( ) { static char a[10] ={"Chinese"}; printf("%d",strlen(a)); }A.7B.2C.9D.10
考题
有以下程序: main() { char a='a', b; printf("% c, ",++a); printf("% c\n", b=a++); 程序运行后的输出结果是______。A.b, bB.a, bC.b, cD.a, c
考题
有以下程序:include main ( ){char a :'a',b; printf( "% c," , + + a); printf("%c
有以下程序: #include <stdio. h> main ( ) { char a :'a',b; printf( "% c," , + + a); printf("%c \n" ,b =a++); }程序运行后的输出结果是( )。A.b,bB.b,cC.a,bD.a,c
考题
有以下程序: include main( ) {char s[ ] ="159" , * p;p=s;printf( "% c", * p + +
有以下程序: #include <stdio.h> main( ) { char s[ ] ="159" , * p; p=s; printf( "% c", * p + + ); printf("%~", * p++);}程序运行后的输出结果是( )。A.15B.16C.12D.59
考题
以下程序的输出结果是【】。 include main() {struct stru {int a; float b; char d[4]; }
以下程序的输出结果是【 】。include<stdio.h>main(){ struct stru{ int a;float b;char d[4];};printf("%d\n",sizeof(struct stru));}
考题
以下程序的输出结果是()。includeinclude main(){char str[12]={'s','t','r
以下程序的输出结果是( )。 #include <stdio.h> #include <string.h> main() { char str[12]={'s','t','r','i','n','g'}; printf("%d\n",strlen(str) ); }A.6B.7C.11D.12
考题
有以下程序#include stdio.hvoid fun( char. c){ if(c'x') fun( c-1);printf("%c",c);}main( ){ fun(’z’); }程序运行后的输出结果是A) xyzB) wxyzC) zyxwD)zyx
考题
以下程序的输出结果是 typedef union{long x[2] int y[4]; char z[8]; } MYTYPE; MYTYPE them; main() { printf("%d\n",sizeof(them));}A.32B.16C.8D.24
考题
有以下程序:include main( ){char P[] = {'a','b','c'} ,q[]: "abc";printf( "% d % d
有以下程序:#include <stdio.h>main( ){ char P[] = {'a','b','c'} ,q[]: "abc"; printf( "% d % d \ n", sizeof(p), sizeof(q) );}程序运行后的输出结果是( )。A.44B.33C.34D.43
考题
有以下程序include.main(){char*p="abcde\ofghjik\0";printf("%d\n",strlen(p));} 程
有以下程序 #include.<string.h> main() { char *p="abcde\ofghjik\0"; printf("%d\n",strlen(p)); } 程序运行后的输出结果是A.12B.15C.6D.5
考题
设有如下程序: char sub(char * q) {while(* q,='\0') {if(*q>='A'*q<='Z')*q=* q+32; else if(*q>='a' *q<='z')*q=*q-32; printf("%c",*q); q++;} } main() {char *s="abcABC"; sub(s); } 则程序运行后的输出结果是( )A.ABCabcB.abcABCC.abcabcD.ABCABC
考题
填空题以下程序运行后的输出结果是()。 main( ) {char m; m=‘B’+32;printf(“%c”,m); }
热门标签
最新试卷