devxlogo

Deleting Multi-Dimensional Arrays Properly

Deleting Multi-Dimensional Arrays Properly

You can allocate a multi-dimensional array dynamically, as in this example:

   int*pp[10]; //an array of ten pointers   for (int j=0; j

devx-admin

Share the Post: