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


Please Help Members By Posting Answers For Below Questions

Explain the difference between c++ and java.

862


How do pointers work?

930


Can we get the value of ios format flags?

869


Explain about Virtual Function in C++?

783


Is it possible for the objects to read and write themselves?

874


How the endl and setw manipulator works?

751


What are shallow and deep copy?

845


Is dev c++ free?

795


Difference between an inspector and a mutator

1054


What is overloading unary operator?

825


How to defines the function in c++?

830


What is difference between c++ and c ++ 14?

777


What is a linked list in c++?

790


What is a stack? How it can be implemented?

914


Why is it called c++?

777