how does the compiler, running program ? know how much memory to delete with the delete[] because if there is no reference to the size that the developer can access, is it the compiler that tell the delete[] operator how much to delete ? or is it within the running program.. thus why cannot the developer access that size element as such ?
or does the delete[] just delete objects that are of that type until it stops ? or is there a end point attached to the new creation ?