#include<stdio.h>
#include<string.h>
void main()
{
int i,j;
char *temp,**p1,*stu[5]={"wangwei","zhangli","hujuanjuan","leiren","lijian"};
p1=stu;
for(i=0;i<4;i++)
for(j=0;j<4-i;j++)
{
if(strcmp(*(p1+j),*(p1+j+1))>0)
{
temp=*(p1+j);
*(p1+j)=*(p1+j+1);
*(p1+j+1)=temp;
}
}
for(i=0;i<5;i++)
printf("%s\t",*(p1+i));
}