C++ Interview

1. dynamic create object and initialization

int *pi = new int;   // pi points to an uninitialized int
int *pi = new int(); // pi points to an int value initialized to 0 
原文地址:https://www.cnblogs.com/davidgu/p/3830941.html