Explain RAII (Resource Acquisition Is Initialization).

Answer Posted / glibwaresoftsolutions

• 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 about vectors in c ++?

783


What is the use of function pointer?

750


what is VOID?

822


Where do I find the current c or c++ standard documents?

822


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

1020


Explain the difference between c++ and java.

854


When should you use global variables?

886


Do the names of parameters have to agree in the prototype, definition, and call to the function?

810


Why do we need constructors in c++?

842


Can I learn c++ in a week?

782


What c++ library is string in?

780


Why struct is used in c++?

806


Why is "using namespace std;" considered bad practice?

835


What programming language should I learn first?

794


What is the basic concept of c++?

745