这是一个链接符号错误,程序中声明了void print(struct student stu2[]); 却没有实现。定义一个 void print(struct student stu2[]){ // do something here}就可以了。