malloc杀内存于无形
摘要:
C语言中的malloc函数是分配内存用的,函数内部生命的变量也会分配内存,但是当函数释放的时候内存也就释放了,这样就不会占用内存了,但是malloc函数不同,如下typedef struct Node{int a;Node* next;}LNode,*LList;LList a=(LList)mal... 阅读全文
posted @ 2015-12-06 20:34
雷大叔
阅读(272)
评论(0)
推荐(0)
浙公网安备 33010602011771号