When can you tell that a memory leak will occur in C++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

When can you tell that a memory leak will occur in C++?

21st May 2017, 11:28 PM
Joel Buenrostro
Joel Buenrostro - avatar
2 Answers
+ 6
You can use tools to analayse the stack in the program when it is running.
22nd May 2017, 12:39 AM
Wen Qin
Wen Qin - avatar
+ 2
when you assign things onto the stack and dont remove them
21st May 2017, 11:31 PM
jay
jay - avatar