When I declare something like
int *i = new int;
what is the value it is initialized to (by the compiler). If I want to make sure it is zero would I have to use
int *i = new int(0);
will new initialize everything to zero?
on the same topic what will be initialized by the compiler what will have to be user (when it comes to pointers).