Question
a.
Can be used on pointers with null value
b.
Can be used on pointers with void value
c.
Can be used on pointer with value 0
d.
Can be used on pointer with any value
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. Delete operator _________________
Similar Questions
Discover Related MCQs
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
Q. For objects that are not of class type ______________
View solution
Q. The delete operator __________________________
View solution
Q. What are automatic variables?
View solution
Q. The memory for automatic variables ___________________
View solution
Q. Scope of an automatic variable _______________
View solution
Q. Which among the following is true for automatic variables in general?
View solution
Q. If an automatic variable is created and then a function is called then ________________
View solution
Q. Where are the automatic variables stored if another function is called in between the execution of program?
View solution
Q. The static variables of a function ________________
View solution
Q. All variables declared within a block ____________________
View solution
Q. What values does uninitialized automatic variables contain?
View solution
Q. Constructor of automatic variables is called ____________________
View solution
Q. Does java contain auto or register keywords?
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!