#include /* printf */ #include /* malloc,free */ /* MAX is the size of the largest string we can handle */ #define MAX 1000 /* bigstring is a new data type */ typedef char bigstring[MAX]; /* reverses a string in place returns a pointer to the string */ char *reverse( char *s) { bigstring buf; int i,len; len = strlen(s); /* find the length */ for (i=0;i