InterviewSolution
Saved Bookmarks
| 1. |
What must be an operand of operator delete?(a) Pointer(b) Array(c) Stack(d) QueueThe question was posed to me by my college professor while I was bunking the class.I want to ask this question from Free Store topic in portion Class Hierarchies, Library & Containers of C++ |
|
Answer» CORRECT option is (a) POINTER Easiest explanation - The operand of delete MUST be a pointer RETURNED by NEW. |
|