内存四区——堆区分析

测试源码:   #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> char *get_str() { char *tmp = (char *)malloc(100); if (tmp == NULL) { return NULL; } strcpy(
相关文章
相关标签/搜索