if the user key in abc, the ouput should be acbbca(where by the reversed string is inserted one character after the other)
i've wrote the code but it display null
Here's the code of the functio:
void InsertStringRev( char input[]){
int r;
char reverse[20];
strrev(input);
strcpy(reverse, input);
strrev(input);
for( r=0; r < strlen( input ); r++)
gotoxy(5,16);printf("Result :%s%s",input[r],reverse[r]);
getch();clrscr();
}