摘要:
//栈区 stack 编译器自动分配释放,存放函数的参数值,局部变量值等,比较小,与数据结构中的栈相似//堆区 heap,有程序猿分配释放,程序结束后可能由OS回收,与数据结构是两回事//数据区 data , 主要包括静态全局区和常量区,而局部变量在栈区,要与之区分。//代码区 Code:存放函数体 阅读全文
posted @ 2021-09-08 11:31
江南王小帅
阅读(39)
评论(0)
推荐(0)
摘要:
#include<stdio.h>#include<string.h>#include <stdlib.h> #pragma warning(disable : 4996) struct Student{ char name[20]; int num; int age; float scor;};i 阅读全文
posted @ 2021-09-08 10:03
江南王小帅
阅读(321)
评论(0)
推荐(0)
摘要:
#include<stdio.h>#include<string.h>#include <stdlib.h> #pragma warning(disable : 4996) int main(){ int a[5]; int b[5]; int size = sizeof(int); FILE *f 阅读全文
posted @ 2021-09-08 09:19
江南王小帅
阅读(234)
评论(0)
推荐(0)

浙公网安备 33010602011771号