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

修改不恰当例子 #801

Merged
merged 1 commit into from
Oct 23, 2021
Merged

修改不恰当例子 #801

merged 1 commit into from
Oct 23, 2021

Conversation

mabaoer
Copy link
Contributor

@mabaoer mabaoer commented Mar 21, 2021

原先例子 c = *p++ 的不合法是因为 *p++ 不能和赋值语句写在同一行,*p++ 在某些情况下是正确的,但是 p++ 对指针操作是错误的。

原先例子 c = *p++ 的错误原因是因为 *p++ 不能和赋值语句卸载一行,*p++ 在某些情况下是正确的,但是 p++ 对指针操作是错误的。
@mabaoer mabaoer closed this Apr 18, 2021
@mabaoer mabaoer reopened this Apr 18, 2021
Copy link
Owner

@unknwon unknwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感谢修正!

@unknwon unknwon merged commit 94d5c5a into unknwon:master Oct 23, 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

Successfully merging this pull request may close these issues.

2 participants