以下程序运行后的输出结果是【 】。 include <stdio, h> include <string, h> main() { char ch[] ="abc".,x[3] [4]: int i: for(i=0;i<3:i ++) strcpy(x[i] ,ch): for(i =0;i<3:i++) printf("% s" ,&x[i] [i]); printf(" \n" ) }
以下程序运行后的输出结果是【 】。 include <stdio, h> include <stating, h> void fun(char * s,int p,int k) { int i; for(i=p;i<k-1;i++) s[i] =s[i+2]; } main() { char s [] = "abedefg"; fun(s,3 ,strlen(s) ); puts(s); }