If my class contains a variable that is a pointer, will the data of the assigned variable (the data being assigned to the pointer) be stored in the pointer or just the address.
If it is just the address than once the source data is deleted the pointer will no longer work?