Vidyalelo
C++ Programming · Q23

Pointers and References in C++

Programming · C++ Programming · question 23

Q23

What is the purpose of the 'delete' keyword in C++?

A.
Deletes a variable
B.
Deletes a pointer
C.
Deallocates memory dynamically
Answer
D.
Deallocates memory statically

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board