Contact Learn C
Copy Program Share Program

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

Download App and Learn when ever you want

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