Can you explain the term "resource acquisition is
initialization?"

Answer Posted / melos

RAAI is the concept of releasing the aquired
memory/resources when the object goes out of scope.
E.g. std::auto_ptr

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a container class?

617


What does the nocreate and noreplace flag ensure when they are used for opening a file?

676


Write a recursive program to calculate factorial in c++.

607


What is oops in c++?

587


What is long in c++?

735






Explain what is polymorphism in c++?

625


In the derived class, which data member of the base class are visible?

640


Explain friend class?

625


What is the use of register keyword with the variables?

547


Is recursion allowed in inline functions?

607


How does a C++ structure differ from a C++ class?

621


Which is better turbo c++ or dev c++?

561


What is the difference between map and hashmap in c++?

555


What is while loops?

615


What do you mean by function overriding & function overloading in c++?

600