KodeGod.com

Write a program to accept a string and print the string in reverse order in C language

#include<stdio.h>
#include<conio.h>  
#include<string.h>
main()
{
	char *s1;
	clrscr();
	printf("Enter string   : ");
	scanf("%s",s1);
	printf("Reverse String : %s",strrev(s1));
	getch();
}