the following code is supposed to free the dynamic memory of "num1" after the delete statement. I know it will still hold the memory address but what I don't understand is that why the old value "5" is still in there?
Sorry I'm still new to programming, hope you guys can help me out. Thank You :)