函数fun的功能是统计person所指结构体数组中所有性别(sex)为M的记录的个数存入n中,请填空: #define N 3 typedef struct {int num; char nam[10]; char sex;} SS; int fun(SS person[]) {int i,n=0; for(i=0;i return n; } main() {SS W[N]={{1,”AA”,’F’},{2,”BB”,’M’}, {3,”CC”,’M’}}; int n; n=fun(W); printf(“n=%d ”,n); }