intmain()
{
charstr[6][45];
charc[45];
inti,j,max;
for(i=0;i>str;
coutstrlen(str))
{
max=j;
strcpy(c,str[max]);
strcpy(str[max],str);
strcpy(str,c);
}
}
}
cout
#include
#include
usingnamespacestd;
intmain()
{
charstr[6][45];
charc[45];
inti,j,x,max;
for(i=0;i>str;
coutstrlen(c))
{
max=j;
strcpy(c,str[max]);
}
}
if(i!=max){
strcpy(str[max],str);
strcpy(str,c);
}
}
cout |