Dynamic Memory: Two Dimensional Arrays Example

This is an animation of dynamic allocation of two-dimensional arrays. Click the "next step" button to run the animation. Note: we assume rows is 2 and cols is 3.