#include <stdio.h>
/********found********/
void fun(char *p);
{
char max, *q;
int i = 0;
max = p[i];
while (p[i] != 0)
{
if (max < p[i])
{
/********found********/
max = p[i];
p = q+i;
}
i++;
}
while (q > p)
{
*q = *(q-1);
q--;
}
p[0] = max;
}