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

ex 3.34 #97

Closed
Rodvi opened this issue Dec 19, 2016 · 1 comment
Closed

ex 3.34 #97

Rodvi opened this issue Dec 19, 2016 · 1 comment

Comments

@Rodvi
Copy link

Rodvi commented Dec 19, 2016

Why p1 = &arr[0]; and p2 = &arr[0].?
These pointers can point to different elements of the array (for example p1 = &arr[1];, p2 = &arr[3];).

@pezy
Copy link
Owner

pezy commented Dec 21, 2016

Why p1 = &arr[0]; and p2 = &arr[0].?

Because they point to the same array, rather than the elements of same array. But the statements make no sense. Sorry for the misleading.

@pezy pezy closed this as completed in 397ff8b Dec 21, 2016
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