How to pass a pointer variable as a reference parameter?
I have an additional question about this question.
The answerer in the question is using int*& as the parameter data type, but I don't understand the sequence of the pointer and reference data type.
In my opinion, int&* looks more practical to me, so I tried to compile with that, but it wasn't allowed.
I wanna understand clearly about this logic.
I thought int*& a like int*(int& a), so it's like a pointer of a reference, but apparently, it was just right the opposite.
Why can't I use int&* as the meaning of a reference of a pointer?