Original Post
Say I read a file from disk to a char* pBuffer in one function, then pass the pBuffer to another function where it is delete[]'d. How does the "delete[] pBuffer" operattion know how many bytes to release? Is there a "end of block" byte at the end or does the OS know?