DescriptionDynamicMemory is a simple program that shows you how to
create 1- and 2-dimensional dynamic arrays.
This can be done with any data type, not just int.
In fact, I could have written the functions as function templates,
but decided not to because templates can obscure the code slighlty.
There is a slight error in the program. It compiles and
runs properly, but there is something not quite correct.
Can you figure it out?