programming practice exercises
int ReverseString(char *); main() { char *Str; printf(“enter any stringn”); gets(Str); ReverseString(Str); getch(); } int ReverseString(char *rev) { if(*rev!=’’) { ReverseString(rev + 1); putchar(*rev); } return 1; } non recursion void ReverseString( char* str, int len ) { while( len > 1 ) { swap( &str[0], &str[len – 1] ); ++str; len -= 2; […]