problem 40 #include <stdio.h> #include <string.h> int main() { char str[100]; printf("Enter string: "); gets(str); printf("%s", strrev(str)); return 0; } Copy Enter a string: Reverse String and Display Result