List of practical programmes in C Language for M. Tech / M.C.A., / B.E./ B.Tech./ Computer Science / B.Sc. / BCA PRACTICAL PROGRAMMING & PROBLEM SOLVING THROUGH C - I / II
/*Reverse a string in C using strrev*/
#include "stdio.h"
#include "string.h"
int main()
{
char string[100];
printf("Enter the string : \n");
scanf("%s", &string);
strrev(string);
printf("Reverse of the entered string is : %s\n", string);
return 0;
}