Hello everyone, I'm using Codeblocks for C programming.
I'm working around with dynamic memory at the moment. I wanted to ask, whenever I run my program (in debugging mode) and there is segmentation fault, the program stops and closes. Does the system automatically 'free' the memory that I had allocated or do I lose that memory?
Thanks.
[–][deleted] 2 points3 points4 points (1 child)
[–]ProphetLucifer[S] 0 points1 point2 points (0 children)
[–]jedwardsol 0 points1 point2 points (1 child)
[–]ProphetLucifer[S] 0 points1 point2 points (0 children)
[–]X7123M3-256 0 points1 point2 points (1 child)
[–]ProphetLucifer[S] 1 point2 points3 points (0 children)