Mine
public text v1 · immutable
#include <stdio.h>
char reverse(char *s, char *t);
int main()
{
char source[25];
char target[25];
printf("Enter the source string\n");
scanf("%s", &source);
reverse(source, target);
printf("The target string is %s\n", target);
getch();
}
char reverse(char *s, char *t)
{
char *cursor;
while(*s!='\0')
{
cursor=s;
s++;
}
}