Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int** p = (int**)malloc(N * sizeof(int*));
- int i;
- for(i = 0; i < M; i++){
- p[i] = (int*)malloc(M*sizeof(int));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement