2019年9月3日
摘要: 结构体变量、结构指针变量、结构数组作为函数的参数应用实例分析 struct stud { long int num; float score; }; /*结构体变量作为函数的参数,修改之后的成员值不能返回到主调函数*/ void funvr(struct stud t) { t.num=2000101; t.score=71.0; } /*结构体数组作为... 阅读全文
posted @ 2019-09-03 15:12 裸睡的猪 阅读(5628) 评论(0) 推荐(0) 编辑