#include <stdio.h>#include <string.h>char *hh(char *s){ return s+strlen(s)/2;}void main(){ char *p,*str="GZUCprogram#"; p=hh(str); printf("%s\n",p);} 输出结果为: