#include <stdio.h> int main() { char str[30] = { 0 }; gets(str); char t[30]; int m; scanf("%d",&m); // write your code here...... char *s=str+m-1; char *q=t; while((*q=*s)!='\0'){ q++; s++; } printf("%s",t); return 0; } 我觉得这样就可以很好的理解指针了。