how that dyanaiuc array create
how it works in a matrix in both row and column wise
How dynamic array create for matrix
its just creating a 2d dynamic array . it will allocate n places to it where each of them contains the start address of the row.
A dynamic 2D array is basically an array of pointers to arrays. So you first need to initialize the array of pointers to pointers and then initialize each 1d array in a loop.
dont forget to hit like and mark resolved if cleared