摘要: 下面的 employee.c 演示了如何在函数中通过malloc分配堆内存,并返回调用方。 为关注重点,把memset()和free()都省了。 #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct emp 阅读全文
posted @ 2020-04-11 00:22 god with us 阅读(668) 评论(0) 推荐(1) 编辑