I just learned C++, and I don't understand the below:
The code part:
int *i = new int;
*i = 0;
int &j = *i;
j++;
Question: which the meaning of the last line: j++?
Answer: Increments the value pointed to by i by one.
My confusion:
I am not sure the meaning of int &j = *i;
What's the relationship between j and pointer i? j is the pointer or other?