reverse string

#include <stdio.h>
#include <string.h>

int main()
{
   char a[100];

   printf("Enter a string to reversed \t : ");
   gets(a);

   strrev(a);

   printf("Reverse of the string is \t : %s \n", a);

   return 0;
}



OUTPUT : -




For Other Programs Visit The WebSite:-   https://www.techapurba.com/

Follow Me On Social Media :-

For tech related videos visit my other website :- https://apurbatechinfo.blogspot.com/

Post a Comment

0 Comments