Computer Science, asked by utkarshnandan99, 6 months ago

Write a program to enter a string and print in reverse order.

Answers

Answered by Anonymous
12

Explanation:

C program to reverse a string

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; }

Similar questions