machan check dis.
dis should work rit... bt it wont :-(
#include <stdio.h>
# include <string.h>
main()
{
int i,m,n,count,y=0;
char str[10],rev_str[10];
printf("Enter a String :");
gets(str);
for(i=0;str[i]!='\0';i++)
{
}
m=i;
n=i;
for(i;i>=0;i--)
{
rev_str[y]=str[i];
y++;
}...