C++20 sections · 1024 units
Open in CourseQuiz: Memory cleanup
Memory cleanup
Check Your Understanding
Why is delete important?
- A.It frees memory allocated with new, preventing leaks
- B.It makes code faster
- C.It deletes files
- D.It is optional
Memory cleanup
Why is delete important?