Which C++ operator releases memory that was allocated with new?
Correct answer C. delete
Explanation
Memory obtained with new should be released with delete, and memory from new[] with delete[]. free() belongs to C's malloc family.
Answer checked How we write and check questions
Discussion