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 are vectors used for in c++?
Is map thread safe c++?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
What does catch(…) mean?
Why is c++ not purely object oriented?
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()
Does c++ have string data type?
What is a class definition?
What does return 0 do in c++?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
Explain static and dynamic memory allocation with an example each.
What are c++ storage classes?
Comment on assignment operator in c++.
What is a c++ map?
What is recursion?