有以下程序#include<stdio .h>main(){char s[」=”rstuv;printf(”%c\n”,*s+2);}程序运行后的输出结果是
以下程序的输出结果为( )。int main(){char s[]=123,*p;p=s;printf(%c%c%c\n,*p,*++p,*++p);}
以下程序的输出结果是 ______ 。 void ss(char *s,char t) { while(*s) { if(*s==t) *s=t- ' a ' + ' A ' ; s++; } } void main() { char str [100]=abcddfefdbd,c= ' d ' ; ss(str,c); printf(%s,str); }
有以下程序: #include void main() { char a[][10] = {'Morning', 'Afternoon', 'Evening', 'Night'}; printf('%s',a[1]); } 程序运行后的输出结果是__________。
有以下程序#include #include main(){ char str[ ][20]={“One*World”, “One*Dream!”},*p=str[1];printf(“%d,”,strlen(p));printf(“%s ”,p);}程序运行后的输出结果是( )
有以下程序#includevoid fun(char*s){while(*s){ if(*s%2==0)printf(“%c”,*s);s++;}}main(){ chara[]={“good”};fun(a);printf(“ ”);}注意:字母a的ASCⅡ码值为97,程序运行后的输出结果是
有以下程序 #include main() {char *s=(“ABC”); do {printf(“%d”,*s%10);s++; }while(*s); } 注意,字母 A的ASCII码值为65。程序运行后的输出结果是
有以下程序:#include#includevoid main(){ char str[][10]={'oneWorld','oneDream!'};printf('%d,',strlen(str[1]));printf('%s ',str[1]);}程序运行后的输出结果是______。
以下程序的输出结果是( )。main(){ char *s=\12134211
有以下程序: include <stdlib.h> main() { char *p,*q; p=(char*)malloc(sizeof(char)*20); q=p; scanf("%s%s",p,q); ptintf("%s%s\n",p,q); } 若从键盘输入abc def<回车>,则输出的结果是()。
有以下程序main(){ char s[ ]"Yes\n/No",*ps=s;puts(ps+4);*(ps+4)=0;puts(s);}程序运行后的输出结果是(选项D中的第一行是空行)
有以下程序include<stdio.h>main(){char s[]=“rstuv”;printf(“%c\n”,*s+2);}程序运行后的输出结果是()。
有以下程序 include<stdlib.h> main() { char*p,*q; p=(char *)malloc(sizeof(char)*20);q=p; scanf(“%s%s”,p,q);printf(“%s%s\n”,p,q); } 若从键盘输入:abc def<回车>,则输出结果是
有以下程序 main() { char str[][10]={"China","Beijing"},*p=str; printf("%s\n",p+10); } 程序运行后的输出结果是
有以下程序: void ss(char *s,char t) {while(*s) { if(*s==t) *s=t-'a'+'A'; s++; } } main() { char str1[100]="abcddfefdbd",c='d'; ss(str1,c); printf("%s\n",str1); } 程序运行后的输出结果是()。
有以下程序void ss(char *s,char t){ while(*s){ if(*s==t)*s=t-′a′+′A′;s++; } }main(){ char str1[100]="abcddfefdbd",c=′d′;ss(str1,c); printf("%s\n",str1);}程序运行后的输出结果是
有以下程序main(){char *s="abcde"; s+=2; printf("%ld\n",s);}程序运行后的输出结果是()A.cdeB
以下程序的输出结果是______。main(){char str[12]={'s','t','r','i','n','g'}; printf("%d/n",st
以下程序的输出结果是______。 main() { union { int i[2]; long j; char m[4]; }r,*s=&r; s-
有以下程序includechar *a="GOODNEWYEAR";char b[ ]="goodnewyear";main(){ int i=0;printf("%c%s\ln",*a,b+7);}执行后的输出结果是()。
有以下程序 void ss(char *s,char t) { while(*s) { if(*s==t)*s=t-'a'+'A'; s++; } } main() {char strl[100]=“abcddfefdbd”,c=‘d’; ss(strl,c);printf(“%s\n”,strl); } 程序运行后的输出结果是
以下程序的输出结果是()。 main {char str[]1-10]={"china","beijing"),*p=str; printf("%s\n",p
以下程序运行后的输出结果是______。 ss(char*s) { char*p=s; while(*p)p++; return(p-s); } main
以下程序main(){chars1[20]=“abc”,s2[20]=“123”;if(strcmp(s1,s2)>0)printf(“%s\n”,s1);elseprintf(“%s\n”,s2);}的输出结果是()