In C++, what does the delete operator do ?

TPSC Computer/IT Posts 2025

In C++, what does the delete operator do ?

  1. A.

    Deletes a member of a class

  2. B.

    Frees dynamically allocated memory

  3. C.

    Deletes the class definition

  4. D.

    Deallocates an object

Attempted by 379 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…