Input
Output
#include <stdio.h> #include <string.h> void main () { char str1[30] = "Hello"; printf("Reverse of String str1: %s\n", strrev(str1)); }