2D 配列のアドレスを指していますが、ポインタを逆参照してメモリを解放する方法について混乱しています。(「->」や「*」は使いません。間違っていますか?)
私のコード:
double array[12][12];
//filled with numbers
double *arrayPtr; //pointer
arrayPtr = &array[0][0]; //pointing to address
multiply(arrayPtr, arrayPtr); //this works fine
//Do I need to do anything further to make sure my memory management is correct? And if so, why?