& vs *

Is there any difference between:
int *i;
and
int &i;
stupid question, nevermind.
Yes, there is. In the first case there is used * while in the second case there is used &. For further details please see any book on C++.
Topic archived. No new replies allowed.