How can i write the coding for a reversive of a given integers.
char str = "012345";
Reverse( str );
printf( str );
then the output will be displayed as "543210"
i need pointer as well to null-terminate string as a parameter and reverses this string. then, the string remains null terminated.
void reverse(char *s)
please help.this is very urgent. thanks.