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
Explain differences between alloc() and free()?
Explain register storage specifier.
what is oops and list its features in c++?
How do you invoke a base member function from a derived class in which you have not overridden that function?
Which bit wise operator is suitable for putting on a particular bit in a number?
Why do we use classes in c++?
Is ca high or low level language?
Is it legal in c++ to overload operator++ so that it decrements a value in your class?
What is ctime c++?
How does a C++ structure differ from a C++ class?
Explain what you mean by a pointer.
What is c++ iterator?
What's the "software peter principleā?
What's the order in which the objects in an array are destructed?
What is capacity in vector in c++?