void reverseString(char* s, int sSize){ int t; for(int i=0,j=sSize-1;i<j;++i,--j) { t=s[i]; s[i]=s[j]; s[j]=t; } }