Deallocating Storage After q is assigned to p, both variables now point to the second memory block:
{"Image DocumentName": "Deallocating StorageAfter q is assigned to p, both variables now point to the second memory block:", "Image ImageDescription": "There are no pointers to the first block, so we\u2019ll never be able to use it again. Copyright \u00a9 2008 W. W. Norton & Company. All rights reserved.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}