这段c语言是什么意思
#include<stdio.h>#include<string.h>
struct Worker {
char name[15];
int age;
float pay;
};
int Equal(struct Worker* r1, struct Worker* r2)
{
if(strcmp(r1―〉,name, r2―〉name)==0)return 1;
else return 0;
}
void main() {
struct Worker a[4]={{"abc",25,420},{"defa",58,638},{"ghin",49,560},{"jklt",36,375}};
struct Worker x={"defa");
int i;
for(i=0;i<4;i++)
if(Equal(a+i,&x)) break;
if(i>=4) printf("没有查找所需的记录! \n");
else printf("%s %d %6.2f\n",a[i],name,a[i],age,a[i],pay);
}
请问这段c语言是什么意思?