Q22
What is a memory leak in C++?
A.
Failure to allocate memory when needed
B.
Allowing memory to be accessed by unauthorized users
C.
Accessing an invalid memory location
D.
Failure to deallocate memory after it's no longer needed
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board