Skip to content

Conversation

@AnnaChekanova
Copy link

Variables have fixed addresses that cannot be changed. So you can only swap values ​​at addresses. You can create separate pointers to variables and change their values. To do this through a function, either pointers to pointers or references to pointers must be passed into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant