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

练习2.29中的错误。 #25

Open
RunChuanYe opened this issue Jul 2, 2021 · 0 comments
Open

练习2.29中的错误。 #25

RunChuanYe opened this issue Jul 2, 2021 · 0 comments

Comments

@RunChuanYe
Copy link

p2 = p1; // 合法, 可以将普通指针赋值给常量指针

这个是答案错误的。
原文中,p2是一个指针常量,是不可以修改指针值的。

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

1 participant