void aaa( int i)
{
int *a = new int[i];
delete []a;
int a= (int)malloc(sizeof(int)*i);
free(a);
}
C++用变量初始化数组
最新推荐文章于 2022-04-25 20:46:35 发布
void aaa( int i)
{
int *a = new int[i];
delete []a;
int a= (int)malloc(sizeof(int)*i);
free(a);
}