char *reverse(char *str)
{
int i,j,n;
char temp;
i=0;
while(str[i]!='\0')
{
i++;
}
n=i-1;
for(j=0;j<=i/2;j++)
{
temp=str[j];
str[j]=str[n];
str[n]=temp;
n--;
}
return str;
}
char *reverse(char *str)
{
int i,j,n;
char temp;
i=0;
while(str[i]!='\0')
{
i++;
}
n=i-1;
for(j=0;j<=i/2;j++)
{
temp=str[j];
str[j]=str[n];
str[n]=temp;
n--;
}
return str;
}