1 void Rotate(char *start,char *end) 2 { 3 if(start == NULL || end == NULL) return ; 4 while(start<end) 5 { 6 char temp = *start; 7 *start = *end; 8 *end = temp; 9 --end;++start; 10 } 11 } 12 13 void RotateString(char *a,int n) 14 { 15 int i,j; 16 char *start =a; 17 char *end = a; 18 while(*start != '