We know that a reference is an alias of the data object it refers to. What happens when we assign the address of a reference to a pointer? Let's look at the following code:
int x = 10; int& ref = x; auto ptr = &ref;
Would ptr contain the address of x or of ref? To answer this question you should know whether there is any difference between
Select whether the equality test
ptr == &x will return true or false ?