Original Post
ok image i allocate memory for a long integer
long *longint = new longint
lets say i cast it back to a normal int and store it there
int *normalint = (int*)longint;
and then call delete on the normalint pointer
delete normalint
would that deallocate the memory for how much memory an integer would take or does it deallocate the original size of the long?