Explain RAII (Resource Acquisition Is Initialization).
Answer Posted / hr@tgksolutions.com
• A programming idiom where resource allocation is tied to object lifetime. Destructors release resources.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is an adaptor class or wrapper class in c++?
What is null pointer and void pointer?
Is map thread safe c++?
What is a driver program?
What is c++ & why it is used?
How do you compile the source code with your compiler?
What is overloading unary operator?
What does h mean in maths?
Please explain class & object in c++?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Do you know about C++ 11 standard?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
Explain static and dynamic memory allocation with an example each.
What is vectorial capacity?
How does class accomplish data hiding in c++?