若有以下程序则程序的输出结果是A.China!B.to China!C.me you to China!D.you to China!
若有以下程序
则程序的输出结果是
A.China!
B.to China!
C.me you to China!
D.you to China!
相关考题:
以下程序运行时,输出的结果是 a $ = "China" b $ =Right$ (a$ ,3) : c$ =Strings (3,b$) Print c $A.ChiB.aaaC.iiiD.ina
下面程序的输出结果是( )。 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() {char *p="china"; p+=1; printf("%d\n",p); } 则程序运行后的输出结果是 ( )A.chinaB.字符h的地址C.hinaD.字符h的ASCII码值
有以下程序 main(){ char str [] [10]={"China", Beijing"},*p=str; printf("%s\n",p+10);} 程序运行后的输出结果是A.ChinaB.BeijingC.ngD.ing
若有如下程序; main() {char a[]="china\0name\0"; printf("%d,",strlen(A) ); printf("%d\n",sizeof(A) ); } 则程序运行后的输出结果是( )A.5,11B.5,12C.11,11D.12,12
有以下程序:include main( ){ehar str[ ] [10] = { "China" ," Beijing" } , * p = 有以下程序: #include < stdio. h > main( ) { ehar str[ ] [10] = { "China" ," Beijing" } , * p = str[o]; printf( "% s \n", p + 10); }程序运行后的输出结果是( )。A.ChinaB.BeijingC.ngD.ing
若有如下程序; main() {char a[][9]={"china","Japan","USA","France"}; printf("\'%s\'\n",a[2]); } 则程序运行后的输出结果是( )A.'Japan'B.'USA'C.USAD.'inaJapanUSAFrance'
若有字符数组定义并初始化为:char str[10]=″China″; 则cout<<str; 的输出结果为:A.China0B.ChinaC.China00000D.一个地址值