void reverse(char *s,int j,int i) {
printf("%d\t%d\n",i,j);
if(i<j) {
swap(s, i, j);
reverse(s,--j,++i);
}
}
I read on Stack Overflow that using the postincrement operators in the function call can pose problems but does the use of the preincrement in function calls is also wrong??
Please help.