zl程序教程

您现在的位置是:首页 >  其它

当前栏目

动态分配内存

动态 分配内存
2023-09-11 14:22:52 时间

1、数组

int p[1000];

p=new int[1000];

或者 p=(int*)malloc(1000*sizeof(int));