Contact Learn C
Copy

Program 239: Print Reverse of given string using Library Functions

Program 239:
 
#include<stdio.h>
#include<string.h>
main()
{
char str[100];
printf("Enter a string to get reverse of string\n");
gets(str);
printf("The reverse of the given string is---> %s\n",strrev(str));

}
Explanation:
//Coming Soon

Output:

Print Reverse of string using Library Function
Donate

Download App and Learn when ever you want

Get it on PlayStore
Get it on Amazon App Store
Get it on Aptoide