-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Not giving the right value to a variable in the book #25635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I believe this is fixed on master, can you confirm? |
I believe it should say not 11 f 4 |
@steveklabnik not fixed on master but just filed a PR to do so |
bors
added a commit
that referenced
this issue
May 25, 2015
Typo in explanation of difference between stack and heap values. `baz` is called at the end of a call to `bar` inside another call to `foo`. `baz` takes a copy of the value `e` which should have a value of 9 if following the rest of the stack trace. This PR fixes this typo and should close #25635.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the end of bar(), it calls baz():
In the code baz is passed f whose value is the address of d which is 9.
However, in the diagram, it is given a value of 4.
The text was updated successfully, but these errors were encountered: