Answers for "code to string reverse"

0

code to string reverse

#include <stdio.h>
#include <string.h>
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;
}
Posted by: Guest on October-28-2021

Browse Popular Code Answers by Language