Internal working of malloc and free
Filed under Teradata
The question
Discuss the internal workings of malloc() and free(). Explain what happens with the statement free(arr+1) given int *arr = malloc(100*sizeof(int));.
No write-up yet. Related questions below have one.
Related Teradata questions
Collected from public candidate posts and coding forums. Updated Nov 2026.