Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What are vectors used for in c++?

1142


Is map thread safe c++?

1129


Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort

1100


What does catch(…) mean?

1169


Why is c++ not purely object oriented?

1059


You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

1219


Does c++ have string data type?

1163


What is a class definition?

1117


What does return 0 do in c++?

1080


Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?

2585


Explain static and dynamic memory allocation with an example each.

1154


What are c++ storage classes?

1157


Comment on assignment operator in c++.

1167


What is a c++ map?

1509


What is recursion?

2377