Explain RAII (Resource Acquisition Is Initialization).
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• A programming idiom where resource allocation is tied to object lifetime. Destructors release resources.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• A programming idiom where resource allocation is tied to object lifetime. Destructors release resources.
| Is This Answer Correct ? | 0 Yes | 0 No |
• A programming idiom where resource allocation is tied to object lifetime. Destructors release resources.
| Is This Answer Correct ? | 0 Yes | 0 No |
Generally variables are stored in heap memory. When he variables are created in stack?
How to detect memory leaks in c++
Const char *p , char const *p What is the difference between the above two?
what is meaning of isa and hsa
Why iomanip is used in c++?
What are abstract data types in c++?
Explain the isa and hasa class relationships. How would you implement each?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
What are pointer-to-members? Explain.
What is command line arguments in C++? What are its uses? Where we have to use this?
What is pure virtual function? Or what is abstract class?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?