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

Why namespace is used in c++?

603


Is there a c++ certification?

606


Give example of a pure virtual function in c++?

587


How do I tokenize a string in c++?

608


What is the purpose of extern storage specifier?

625






What is the basic difference between C and C++?

626


What is the use of function pointer?

577


How do you traverse a btree in backward in-order?

624


What do manipulators do?

572


What is oop in c++?

601


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

2070


What is guard code in c++?

644


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

1459


What is an adaptor class or wrapper class in c++?

607


Difference between inline functions and macros?

598