write a program to input a string and display it's reverse order and explain
Answers
Answered by
1
hiii plz do follow me
Answered by
2
Answer:
- C program to reverse a string
C program to reverse a stringint main() { char s[100];
- C program to reverse a stringint main() { char s[100];print friendly("Enter a string to reverse\n"); gets(s);
- C program to reverse a stringint main() { char s[100];print friendly("Enter a string to reverse\n"); gets(s);strrev(s);
- C program to reverse a stringint main() { char s[100];print friendly("Enter a string to reverse\n"); gets(s);strrev(s);printf("Reverse of the string: %s\n", s);
- C program to reverse a stringint main() { char s[100];print friendly("Enter a string to reverse\n"); gets(s);strrev(s);printf("Reverse of the string: %s\n", s);return 0; }
Similar questions