Difference between A* pA = new A; and A* pA = new A();

Viewed 1318

in C++, what is the exact difference between both following dynamic object creations :

A* pA = new A;

A* pA = new A(); 

I did some tests, but it seems that in both cases, the default constructor is called and only it. I'm looking for any difference about performance...

Thanks

4 Answers
Related