填空题 以下程序的运行结果是 【10】
# include<string.h>
char *ss(char *s)
return s+strlen(s)/2;
main()
char *p,*str="abcdefgh";
p=ss(str);printf("%s/n",p);


  • 1、
【正确答案】 1、efgh    
【答案解析】[解析] 函数ss返回形参s所指向的符号串的后半部分,故p="efgh"。