Be the first to post for 'REFERENCES & POINTERS'!

If you’re reading this, there probably aren’t very many posts yet. But don’t worry, you can be the first! Either create a new post or just reply to this one to say ‘hi’.

Hi,

This is al pretty new to me, but very interesting! So thanks for the explanation! For me what made it especially clear is if you add this row in the main
valRef = val2;
printVals();
When you do this the values of valRef willl change into 3(if you add it as the final row.) But the Address will still be of val.

It sounds simple, but that was a breakthrough moment for me :slight_smile: just wanted to share it.

1 Like

Thanks for sharing, remember to use code formatting.

Enjoy the course(s)

Privacy & Terms