Register now or log in to join your professional community.
And how we use that memory?
void *ptr= malloc (20);
int *iptr= (int *)ptr; //4 byte access
char *cptr=(char *)ptr; // Single byte access
malloc/calloc both functions allocate memory in one contigous block
Non Contagious