What' s the reaction of people to the program

A:Quite a few parents called HBO to object. B:They regarded it as the highest rated original entertainment program in the network' s history. C:They were outraged. D:They didn' t care much about it.

若有以下定义:
char s[10]="program",t[]="test";
则下列选项中对字符串操作错误的是( )。

A:strcpy(s,t); B:strcat(s,t); C:cout<<strlen(s); D:gets(s);

有以下程序 void fun1(char *p) { char *q; q=p; while(*q!= ''/0'') {(*q)++;q++;} } main( ) { char a[]={"Program "},*p; p=&a[3];fun1(p); printf("%s/n",a); } 程序执行后的输出结果是______。

A:Prohsbn B:Prphsbn C:Progsbn D:Program

若有以下定义: char s(10)="program",t[]="test"; 则下列选项中对字符串操作错误的是( )。

A:strcpy(s,; B:strcat(s,; C:cout<<strlen(; D:gets(;

有以下程序: void fun1(char*p) { char *q; q=p; while(*q!='/0') { (*q)++; q++; } } main( ) { char a[]={"Program"),*p; p=&a[3]; fun1(p) printf("%s/n",A) ; } 程序执行后的输出结果是( )。

A:Prohsbn B:Prphsbn C:Progsbn D:Program

有以下程序 void funl(char* P) {char*q; q=P; while(*q!=’\0’) {(*q)++;q++;) } main( ) {char a[]={"Program"),*p; P=&a[3];fun1(P);printf("%s\n",a); } 程序执行后的输出结果是【 】。

A:Prohsbn B:Prphsbn C:Progsbn D:Program

有以下程序: void fun1(char*p) {char*q; q=P; while(*q!='/0') { (*q)++;q++;} } main( ) {char a[]={"Program"),*p; p=&a[3];funl(p);printf("%s/n",a); } 程序执行后的输出结果是______。

A:Prohsbn B:Prphsbn C:Progsbn D:Program

微信扫码获取答案解析
下载APP查看答案解析