1.

Which operators are used in the free store?(a) new(b) delete(c) both new & delete(d) terminateThis question was addressed to me at a job interview.Asked question is from Free Store topic in section Class Hierarchies, Library & Containers of C++

Answer»

Correct answer is (C) both new & delete

The best I can EXPLAIN: new and delete operators are USED to allocate and deallocate the MEMORY for the program.



Discussion

No Comment Found

Related InterviewSolutions