All pastes #339976 Raw Edit

Untitled

public text v1 · immutable
·published 2007-02-04 13:29 UTC
rendered paste body
#include <stdio.h>

char reverse(char *s, char *t);

void main()
{
     char source[25];
     char target[25];
     
     printf("Enter the source string\n");
     scanf("%d", &source);
     
     reverse(source, target);
     
     printf("The target string is %s\n", target);
     
     fgetc(stdin);
}

char reverse(char *s, char *t)
{
     int i, j;