c语言函数里开辟堆空间问题 #define _CRT_SECURE_NO_WARNINGS#include #include #include #include #include void func(int **p){ int *temp; temp= (int *)malloc(sizeof(int)); *temp = 100; *p = temp; printf("func %d\n", c/c++ 2023-12-08 44 点赞 0 评论 66 浏览