阅读下列程序,写出运行结果:
#include <iostream>
using namespace std;
struct Employee
{
char name[ 20 ];
char sex;
};
void fun( Employee *p )
{
if( (*p).sex == 'm' )
cout << (*p).name << endl;
}
int main()
{
Employee emp[5] = { "Liming", 'm', "Wangxiaoping", 'f', "Luwei", 'm' };
int i;
for( i=0; i<3; i++ )
fun( emp+i );
}

Luwei