If an object is allocated using new operator ____________

🎲 Try a Random Question  |  Total Questions in Quiz: 58  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Object Oriented Programming Practice Test: Memory Allocation & Scope of Variable — practice the complete quiz, review flashcards, or try a random question.

Quiz questions on new and delete operators, automatic and extern variables. In object-oriented programming (OOP), memory allocation is the process of allocating memory to store the data members and functions of an object. The amount of memory required for an object depends on the size and type of its data members and the size and complexity of its member functions. In most programming languages, memory allocation for objects is done automatically when an object is created. When an object is destroyed, the memory allocated to it is automatically deallocated. The scope of a variable in OOP... Show more

If an object is allocated using new operator ____________