摘要:
/* 2019年10月12日19:25:25 说明:typedef在结构体中的应用*/#include<stdio.h> typedef struct Student{ char name[9]; int age;}STU,*PSTU; //STU相当于struct Student,PSTU相当于s 阅读全文
摘要:
/* 时间:2019年10月11日22:09:45 说明:函数的形参以struct Arr*类型, 因为指针变量只占4个字节, 如果传入的形参是struct Arr类型,struct Arr所占字节大于4个,内存更浪费了*/#include<stdio.h>#include<malloc.h>#in 阅读全文