What is the functional difference between myObj *x = new myObj[100]; delete x; and myObj *x = new myObj[100]; delete [] x;
There is none; they both work as expected
They both do nothing.
The first will not invoke all myObj destructors
It would'nt delete all the memory allocated to the objects