c dynamic matrix allocation code example
Example: dynamically create matrix c
int **A = (int **)malloc(N * sizeof(int*));
for(i=0; i<N; i++){
A[i] = (int *)malloc(N * sizeof(int));
}
int **A = (int **)malloc(N * sizeof(int*));
for(i=0; i<N; i++){
A[i] = (int *)malloc(N * sizeof(int));
}