Question
a.
delete
b.
free
c.
either delete or free
d.
only delete
Posted under Object Oriented Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which among the following keyword can be used to free the allocated memory for an object?
Similar Questions
Discover Related MCQs
Q. Which function is called whenever an object goes out of scope?
View solution
Q. Which operator can be used to check the size of an object?
View solution
Q. The memory allocated for an object ____________________
View solution
Q. If an object is declared in a user defined function __________________
View solution
Q. In java, ____________________ takes care of managing memory for objects dynamically.
View solution
Q. Which operator can be used to free the memory allocated for an object in C++?
View solution
Q. What is array of objects?
View solution
Q. Which among the following is a mandatory condition for array of objects?
View solution
Q. What is the type of the elements of array of objects?
View solution
Q. If array of objects is declared as given below, which is the limitation on objects?
Class_name arrayName[size];
View solution
Q. Which is the condition that must be followed if the array of objects is declared without initialization, only with size of array?
View solution
Q. When are the array of objects without any initialization useful?
View solution
Q. If constructor arguments are passed to objects of array then ____________ if the constructors are overloaded.
View solution
Q. How the objects of array can be denoted?
View solution
Q. The objects in an object array _______________________
View solution
Q. The Object array is created in _____________________
View solution
Q. If an array of objects is of size 10 and a data value have to be retrieved from 5th object then ________________ syntax should be used.
View solution
Q. Can we have two dimensional object array?
View solution
Q. From which index does the array of objects start?
View solution
Q. Two dimensional array can’t be initialized with the declaration.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!