网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
char c='\41';printf("%o",c); 的结果为( )。
A.0101
B.101
C.41
D.65
参考答案
更多 “ char c='\41';printf("%o",c); 的结果为( )。A.0101B.101C.41D.65 ” 相关考题
考题
有以下程序:void funl(char*p){ char*q;q=P;while(*q!=\O){(*q)++;q++;}}main{ char a[]={Program),*P;p=&a[3];funl(p);printf(%s\n,a);}程序执行后的输出结果是( )。A.ProhsbnB.PrphsbnC.ProgsbnD.Program
考题
以下C程序段的输出结果是(30)。 include void abc(char *str){ int a, b;
以下C程序段的输出结果是(30)。 #include <stdio. h> void abc(char *str){ int a, b; for(a=b=0;str[a]!='\O';a++)if(str[a]!='c') str[b++]=str[a]; str[b]='\O'; } void main(){ char str[]="abcdef"; abc(str); printf("str[]=%s",str); }A.str[]=aB.str[]=abC.str[]=abdefD.str[]=abcdef
考题
有以下程序: matin() { char * s[]={"one", "two", "three"}, *p; p=s[1]; printf("% c, % s\n", *(p+1),s [o]); } 执行后的输出结果是______。A.n, twoB.t, oneC.w, oneD.o, two
考题
以下程序的输出结果为()。includemain(){ char *alpha[6]={"ABCDEFGH","IJKL","MNOP","
以下程序的输出结果为( )。 #include<stdio.h> main() { char *alpha[6]={"ABCDEFGH","IJKL","MNOP","QRST","UVWX"}; char**p;int i; p=alpha; for(i=0;i<4;i++)printf(" %s" ,p[i]);printf("\n" );}A.ABCDEFGHIJKLB.ABCDC.ABCDEFGHIJKLMNOPQRSTD.AEIM
考题
有以下程序: void funl(char*p) { char*q; q=P; while(*q!=\O) {(*q)++;q++;} } main { char a[]={"Program"),*P; p=&a[3];funl(p); printf("%s\n",a); } 程序执行后的输出结果是( )。A.ProhsbnB.PrphsbnC.ProgsbnD.Program
考题
以下程序的运行结果为______。 char *c []={ "ENTER", "NEW", "POINT", "FIRST" }; char **cp []={ c+3, c+2, c+1, c}; char ***cpp=cp; main () {printf ("%s\n",**++cpp); }A.ENTERB.NEWC.POINTD.FIRST
考题
char*p;p=StrCat(“ABD”,”ABC”);Printf(“%s”,p);的显示结果为()。A-1BABDABCCABD1
热门标签
最新试卷