#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{ char s1[20];
clrscr();
printf("\n\n program to reverse string using strrev");
printf("\n Enter any string: ");
gets(s1);
strrev(s1);
printf("\nReverse of string : %s", s1);
getch();
}
No comments:
Post a Comment
Guys if you think something is wrong or should be edit than please do comment.