Why is it not possible to access the size of a new[]'d array?
Asked 2010-03-09T00:06:54.170
19
When you allocate an array using new [], why can't you find out the size of that array from the pointer? It must be known at run time, otherwise delete [] wouldn't know how much memory to free.