Skip to content

fixed your problem#1

Open
AnnaChekanova wants to merge 1 commit intoBitSails:masterfrom
AnnaChekanova:patch-1
Open

fixed your problem#1
AnnaChekanova wants to merge 1 commit intoBitSails:masterfrom
AnnaChekanova:patch-1

Conversation

@AnnaChekanova
Copy link
Copy Markdown

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