Skip to content
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

Page 200: The text states that the address of int x prints 0, which is wrong. #84

Closed
WraithGlade opened this issue Dec 30, 2019 · 1 comment

Comments

@WraithGlade
Copy link

WraithGlade commented Dec 30, 2019

In the following text:

The address refers to the address of x ➊ and prints 0 ➋.

The statement is wrong as worded.

The code actually prints a non-zero address for x (in this case 0x000000F79DCFFB74), but then later also prints a nullptr as a hex string which ends up being 0x0000000000000000.

@JLospinoso
Copy link
Owner

JLospinoso commented Jan 1, 2020

Thanks, @WraithGlade!

kruschk pushed a commit to kruschk/ccc that referenced this issue Apr 26, 2021
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

No branches or pull requests

2 participants