Computer Science, asked by Leon15, 1 year ago

write a program to input a string and display it's reverse order and explain ​

Answers

Answered by tanbirahmed
1

hiii plz do follow me

Answered by ItzMissKomal
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