Memory ownership in C
Two functions have a pointer to the same memory, and each one thinks the other will free it.
The rest of this lesson is locked.
5 exercises, checked as you type.
C, 32-bit: int and pointers are 4 bytes
Two functions have a pointer to the same memory, and each one thinks the other will free it.
5 exercises, checked as you type.