Please Make A Note: 2D Arrays in C Using malloc
Pointers can be easily used to create a 2D array in C using malloc. The idea is to first create a one dimensional array of pointers, and then, for each array entry, create another one dimensional array. Here's a sample code: double** theArray; theArray = ...