單項(xiàng)選擇題

以下建立動態(tài)存儲的語句正確的是()

A.int p=new int;
B.int p=new(10);
C.int *p(10);
D.int *p=new int(10);

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