标签:back ring 反转字符串 oid one round 反转 star etc
void reverseString(char* s, int sSize){
int start =0,end = sSize-1,temp;
while(start < end) temp = s[start],s[start++] = s[end],s[end--] = temp;
}
标签:back ring 反转字符串 oid one round 反转 star etc
原文地址:https://www.cnblogs.com/ganxiang/p/13628366.html