C-FAQ #0716
Avinash Narwekar, 4 years ago
02:52s300 comment
C Programming - Memory Allocation I am allocating a large array by saying double *a = malloc (300 * 300 * sizeof(double)); malloc isn't returning null, but the program is acting strangely, as if it's overwriting memory, or malloc isn't allocating as much as I asked for.
Link
Social
Embed code