A.delete []p;
B.delete p[]
C.delete int[]p
D.delete p int[10]
您可能感興趣的試卷
你可能感興趣的試題
A.int p=new int[];
B.int p=new [10];
C.int *p=new int[10];
D.int *p[10]=new int;
A.int p=new int;
B.int p=new(10);
C.int *p(10);
D.int *p=new int(10);
A.fun(x,4,5);
B.fun(*x,4,5);
C.fun(x[0],4,5);
D.fun(&x,4,5);
A.fun(b,20);
B.fun(b[0],20);
C.fun(b[0][0],20);
D.fun(&b,20);
A.fun(a,10);
B.fun(a[0],10);
C.fun(*a,10);
D.fun(&a,10);
最新試題
string類中為字符串對象提供了一些成員函數(shù),調(diào)用這些成員函數(shù)的方法為()。
第一代高級語言以Fortran語言和()語言為代表。
引用可以用在函數(shù)中,既可以作為函數(shù)的參數(shù)使用,又可以作為函數(shù)的()使用。
string對象可以使用cin和()進(jìn)行輸入和輸出。
指針變量中保存著一個()。
使用delete對動態(tài)分配的數(shù)組進(jìn)行釋放的語法格式為()。
標(biāo)識符的()是指一個標(biāo)識符在程序中的有效范圍。
如果把const限定符放在*號的右邊,使指針本身成為一個const指針,即()。
命名空間是C++的一種機制,使用關(guān)鍵字()把大量有邏輯聯(lián)系的程序?qū)嶓w組合在一個標(biāo)識符下。
static_cast的功能是將一種數(shù)據(jù)類型轉(zhuǎn)換成另一種數(shù)據(jù)類型,其使用格式為()。