Source code Copy code #include <stdio.h> void rev(char *ptr1, char *ptr2) { char *t; t = ptr2; while(*ptr2 !='