std::map<int,int> table; // any container of size ZERO.
// table.size() is zero.
A ** ptr = new A*[table.size()];
delete [] ptr;
One can pass any variable with value ZERO in the new call.
Is there any actual memory allocated to ptr... If yes, then what is the size of the chunck. Is there any probability of crash...?