tags:

views:

42

answers:

0

Possible Duplicate:
Do the parentheses after the type name make a difference with new?

Hi!

What is the difference between the follow statements?

AnyClass *i1 = new AnyClass();
AnyClass *i2 = new AnyClass;

Both statements compile and run equally.

Is there no difference?