Assume sizeof(int)
.
Then, what's the total size of bytes that will be allocated on the dynamic heap?
And can you please explain why?
#include<stdio.h>
#include<stdlib.h>
#define MAXROW 8
#define MAXCOL 27
int main()
{
int (*p)[MAXCOL];
p = (int (*) [MAXCOL])malloc(MAXROW *sizeof(*p));
return0;
}