If CloseHandle is NOT called after opening a file with CreateFile, which of the following
If CloseHandle is NOT called after opening a file with CreateFile, which of the following
issues might occur?
Show answerHide answer
Correct answer: (B) Resources associated with the file may not be released.
Explanation
CloseHandle releases the kernel object and the resources tied to the handle. If it is never called, those handles and resources stay allocated (a handle/resource leak) until the process ends.