there is no difference
pointer is used for heap and reference is used for stack
reference is necessary to assign object to pointer
pointer can be NULL, reference can not be NULL
it depends on compiler
C++ question 3
Next question
Home
Reference can not be NULL, it is necessary to initialize reference at the time of declaration, it is not possible to make array of references, it is not possible to have reference to a reference.