Question: c how to reverse a string?
Answer: int main() { char s[100]; printf("Enter a string to reverse\n"); gets(s); strrev(s); printf("Reverse of the string: %s\n", s); return 0; }