#include<stdio.h>
#include<string.h>
int main()
{
char a[10];
int i,j;
printf("enter the string:");
gets(a);
strrev(a);
printf("the reverse of string :");
puts (a);
}
#include<string.h>
int main()
{
char a[10];
int i,j;
printf("enter the string:");
gets(a);
strrev(a);
printf("the reverse of string :");
puts (a);
}
No comments:
Post a Comment