2021年3月29日

摘要: 上代码直接研究: int main() { int *heap_d; int *heap_e; int *heap_f; heap_d = (int *)malloc(10); heap_e = (int *)malloc(10); printf("The d address is %p\n",he 阅读全文
posted @ 2021-03-29 14:45 real-watson 阅读(402) 评论(0) 推荐(0)
 
摘要: 一份代码可以知道具体方式和原理: int main() { int stack_a; int stack_b; static int static_c; static int static_d; int *heap_e; int *heap_f; heap_e = (int *)malloc(10) 阅读全文
posted @ 2021-03-29 14:36 real-watson 阅读(1733) 评论(0) 推荐(0)