×

Loading...

if you read my article.......

when you call int *a =new int(10);,a points to a first available memory unit 0x12345678 which stores 10.

when you call delete a, memry unit 0x12345678 becomes first available memory unit again.

when you call int *b= new (11);, b points to 0x12345678 again.

is that clear?
Report

Replies, comments and Discussions: