原创 關於new

在32位操作系統下,有如下定義: int *p1 = new int(1024);//定義一個指向整型變量的指針p1 並賦給初值1024 int *p2 = new int[512];//定義一個指向整型變量的指針數組 int*p3 = n