Question
a.
Can allocate reference types too
b.
Doesn’t allocate reference types
c.
Can allocate reference to objects
d.
Doesn’t allocate any data
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. The new operator _____________
Similar Questions
Discover Related MCQs
Q. Which among the following is correct?
View solution
Q. Which among the following is added in grammar of new operator?
View solution
Q. Initializers __________________
View solution
Q. The objects allocated using new operator ________________
View solution
Q. The new operator _________________
View solution
Q. If new operator is defined for a class and still global new operator have to be used, which operator should be used with the keyword new?
View solution
Q. How does compiler convert “::operator new” implicitly?
View solution
Q. What is delete operator?
View solution
Q. If an object is allocated using new operator ____________
View solution
Q. Does delete return any value?
View solution
Q. Which type of value is resulted from the delete operator?
View solution
Q. If delete is used to delete an object which was not allocated using new _______________
View solution
Q. Delete operator _________________
View solution
Q. When delete operator is used ___________________ (If object has a destructor)
View solution
Q. If delete is applied to an object whose l-value is modifiable, then _______________ after the object is deleted.
View solution
Q. How many variants of delete operator are available?
View solution
Q. Which is the correct syntax to delete a single object?
View solution
Q. Which is the correct syntax to delete array of objects?
View solution
Q. Which cases among the following produces the undefined result?
View solution
Q. The delete operator __________________
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!
Software Engineering
Learn about the systematic approach to developing software with our Software...
Operating System
Dive deep into the core of computers with our Operating System MCQs. Learn about...