C++20 sections · 1024 units
Open in Course

Quiz: Stack Unwinding

Knowledge check

Check Your Understanding

What happens to local objects in functions that are exited during stack unwinding?

  1. A.They are only destroyed if the exception is caught
  2. B.They are left in memory until program termination
  3. C.Their destructors are skipped to exit faster
  4. D.Their destructors are called in reverse construction order
Start the roadmap to answer the quizzes and solve the challenges