Question OOP-CTOR-0019
HardWhat does RAII (Resource Acquisition Is Initialisation) mean in C++?
- A.
A resource is acquired in a constructor and released in the destructor, tying its lifetime to an object's scope
- B.
Resources are allocated at compile time
- C.
Sign up free to see the answer and a step-by-step explanation.