“delete [] a,b; ” 的格式对吗?
“delete [] a,b; ” 的格式对吗?
“delete [] a,b; ” 的格式对吗?
程序:
int n=100;
int *a,*b;
a=new int [n];
b=new int [n];
delete [] a,b; //这样格式对吗?
“delete [] a,b; ” 的格式对吗?
程序:
int n=100;
int *a,*b;
a=new int [n];
b=new int [n];
delete [] a,b; //这样格式对吗?