[ERROR]
There is no conversion from type assigned to the type of the reference.
int *i;
int &r=i; // error
The type of the reference must be equal to the type assigned.