單項(xiàng)選擇題

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

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

微信掃碼免費(fèi)搜題