單項選擇題

在下面類的聲明中,關于生成對象不正確的是:()

A.Pointp(10,2)
B.Point*p=newPoint(1,2)
C.Point*p=newPoint[2]
D.Point*p[2]={newPoint(1,2),newPoint(3,4)}

微信掃碼免費搜題