C++20 sections · 1024 units
Open in Course

Quiz: Memory Basics

Memory allocation

Quiz: Memory Basics

What happens if you use new without delete?

  1. A.The program crashes immediately
  2. B.Memory is automatically freed
  3. C.Memory leak occurs
  4. D.The compiler shows an error
Start the roadmap to answer the quizzes and solve the challenges