Hey everyone,
I have a timed programming exam tomorrow morning covering dynamic memory and pointers, and I'm totally stuck on these practice problems. I keep getting segmentation faults, and trying to trace memory leaks by hand while studying is completely draining me.
When you're prepping under pressure like this, how do you fix broken logic fast? Do you just trace code on paper, or look for online help with programming homework and practice sets to figure out where your memory handling is going wrong before test time?
Any last-minute review tips would help a lot!