CODING:
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char a[50];
clrscr();
printf("Enter any string: ");
gets(a);
printf("\n\nReversed string: %s",strrev(a));
getch();
}
|
CODING |
|
OUTPUT |
For any query or suggestion please comment below...
No comments:
Post a Comment