單項選擇題

有說明語句int *p=new int[10];釋放動態(tài)數(shù)組的正確語句是()

A.delete []p;
B.delete p[]
C.delete int[]p
D.delete p int[10]

微信掃碼免費搜題