There are two ways to get the integer pointer
int *i = new int;
int *i = new int();
I know the later option will set the integer to 0. But how are they different to compiler. Is new an operator and new(), overload of operator?
There are two ways to get the integer pointer
int *i = new int;
int *i = new int();
I know the later option will set the integer to 0. But how are they different to compiler. Is new an operator and new(), overload of operator?