以下程序的输出结果是 ( )。
char cchar(char ch)
{
if(ch>='A'&&ch<='Z') ch=ch-'A'+'a';
return ch;
}
main( )
{ char s[]="ABC+abc=defDEF",*p=s;
while(*p)
{ *p=cchar(*p);
p++;
}
printf("%s/n",s);
}
A:abc+ABC=DEFdef B:abc+abc=defdef C:abcaABCDEFdef D:abcabcdefdef
以下程序的输出结果是
char cchar(char ch)
if(ch>='A' &&ch<='Z') ch=ch-'A'+'a';
return ch;
main( )
char s[]="ABC+abc=defDEF",*p=s;
while(*p) *p=cehar(*p);p++;
printf("%s/n",s);
A:abc+ABC=DEFdef B:abe+abe=defdef C:abcABCDEFdef D:abcabcdefdef
以下程序的输出结果是( )。
#include <stdio.h>
charcchar(char eh)
if(ch>='A,&&ch<='Z') ch=ch-'A'+'a';
return ch;
main( )
char s[]="ABC+abc=defDEF",*p=s;
while(*p)
*p=cchsr(*p); p++;
printf("%s/n",s);
A:abc+ABC=DEFdef B:abc+abc=defdef C:abcABCDEFdef D:abcabcdefdef
以下程序的输出结果是( )。
#include <stdio.h>
charcchar(char eh)
if(ch>=’A,&&ch<=’Z’) ch=ch-’A’+’a’;
return ch;
main( )
char s[]="ABC+abc=defDEF",*p=s;
while(*p)
*p=cchsr(*p); p++;
printf("%s/n",s);
A:abc+ABC=DEFdef B:abc+abc=defdef C:abcABCDEFdef D:abcabcdefdef
以下程序的输出结果是
char cchar(char ch)
if(ch>=’A’&&ch<=’Z’) ch=ch-’A’+’a’;
return ch;
main ( )
char s [] = "ABC+abc=defDEF" , *p=s;
while (*p)
*p=cchar(*p);
p++;
printf "%$/n", s);
A:abc+ABC=DEFdef B:abc+abc=defdef C:abcABCDEFdef D:abcabcdefdef
以下程序的输出结果是______。
char cchar(char ch)
if(ch>=’A’&&ch<=’z’)ch=ch-’A’+’a’;
return ch;
main( )
char s[]="ABC+abc=defDEF",*p=s;
while(* p)
* p=cchar(* p);
p++;
printf("% s/n", s);
A:abe+ABC=DEFdef B:abc+abe=defdef C:abcaABCDEFdef D:abcabcdefdef
以下程序的输出结果是 chsr cchar(char ch) { if(ch>='A'&&ch<='Z')ch=ch-'A'+'a'; return ch; } main( ) { char s[]=“ABC+abc=defDEF”,*p=s; while(*p) { *p=cchar(*p); p++; } printf(“%s/n”,s); }
A:abd+ABC=DEFdef B:abc+abc=defdef C:abcABCDEFdef D:abcabcdefdef