int x;
int y;
int *p_x; // Pointer to x
x = 10;
p_x = &x
...........
Now lets say i want to assign the value that p_x points to, to y. So i want y to equal whatever x is, through the p_x pointer. I tried:
&y = p_x;
but the compiler doesn''t like this . I''ve been thinking about this and whenver i try something new it doesn''t work. Any suggestions?