Can you explain the term "resource acquisition is
initialization?"
Answer / 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 |
Write a corrected statement in c++ so that the statement will work properly. x + y=z;
What is the use of function pointer?
What are shallow and deep copies?
How to avoid a class from instantiation?
What are raw sockets, where they are efficient?
What are static type checking?
In a function declaration what does extern means?
What are class and object in C++?
What is prototype in c++ with example?
What is pointer to array in c++?
What are the four partitions in which c++ compiler divides the ram?
If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];