[quote=引用 1 楼 shiguojie19892 的回复:] int testStudentInfo(struct Student *stu)传入得是指针,不能得到长度,需要加上一个int _length长度也传入函数内。 int testStudentInfo(struct Student *stu,int _length)
int testStudentInfo(struct Student *stu,int _length)
sizeof(student[100]);
int testStudentInfo(struct Student *stu)传入得是指针,不能得到长度,需要加上一个int _length长度也传入函数内。 int testStudentInfo(struct Student *stu,int _length)
int testStudentInfo(struct Student *stu, int arraylen)
69,371
社区成员
243,081
社区内容
加载中
试试用AI创作助手写篇文章吧