what is arr in below code, and what are we allocating to it?
int **arr = malloc(3 * sizeof(int *));
arr is pointer to pointer to int. we are allocating array of 3 pointers to it.
arr is a void pointer to an int pointer. we are allocating 12 bytes to it.
it gives compile time error.
it will crash.
Back To Top