1.

Where is the memory allocated for the objects?(a) HDD(b) Cache(c) RAM(d) ROMI had been asked this question in examination.This interesting question is from Overloading Member Functions in division Member Functions & its Types of Object Oriented Programming

Answer»

Correct answer is (C) RAM

The best I can explain: The MEMORY for the objects or any other data is allocated in RAM initially. This is while we run a program all the memory allocation takes place in some RAM SEGMENTS. ARRAYS in heap and local members in stack etc.



Discussion

No Comment Found

Related InterviewSolutions