Possible Duplicate:
Difference between pointer variable and reference variable in C++
suppose I'm trying to pass a reference to object x to a c++ function...
what's the difference between
pass(Object * x){
}
and
pass(Object& x){
}
and how would you access the actual object itself when the pointer/reference is declared using the different methods...
for instance if I have Object * x, how would I actually access the actual object that is referenced by x
same with Object& x