If I have class* object = NULL;, and I pass object into function(class* arg){arg = new class();}, does object = new class()?
I ask because a pointer is just an address, right? So if I pass a NULL pointer as an argument and assign a new object to it, the address will be changed from zero, and the original pointer will not point to the new object, correct?