Explain RAII (Resource Acquisition Is Initialization).
Answer Posted / nashiinformaticssolutions
• 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
Difference between strdup and strcpy?
Which is best c++ or java?
What are the various situations where a copy constructor is invoked?
What are the data types in c++?
Search for: what is pair in c++?
What is a namespace in c++?
What is virtual destructor? What is its use?
What is array in c++ example?
Program to check whether a word is a sub-string or not of a string typed
What is function overriding in c++?
How many different levels of pointers are there?
Give an example of run-time polymorphism/virtual functions.
Can union be self referenced?
Can a class be static in c++?
Is c++ still in demand?