Program to Illustrate “strrev” function

#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char ch[20]="Reverse String";
clrscr();
printf("\nReverse is = %s",strrev(ch));
getch();
}

Leave a Reply