1.

What does memory allocation for objects mean?(a) Actual creation and memory allocation for object members(b) Creation of member functions(c) Creation of data members for a class(d) Actual creation and data declaration for object membersThis question was posed to me in quiz.Question is taken from Memory Allocation of Object topic in portion Object of Object Oriented Programming

Answer» CORRECT CHOICE is (a) Actual creation and memory ALLOCATION for object members

Explanation: The memory ALLOCATED for the object members indicates actual creation of the object members. This is KNOWN as memory allocation for object.


Discussion

No Comment Found

Related InterviewSolutions