#include<stdio.h>
#include<string.h>
main()
{
char str[100];
printf("\nEnter a string=");
scanf("%s",str);
printf("\nAfter reversing the resultant string=%s",strrev(str));
}
#include<string.h>
main()
{
char str[100];
printf("\nEnter a string=");
scanf("%s",str);
printf("\nAfter reversing the resultant string=%s",strrev(str));
}
No comments:
Post a Comment