Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据 KNK 现代方法教科书,++(*p) 的表达式是“先增加 *p;表达式的值是 *p 后递增”。
当我第一次解释这个时,我认为它会首先获取指针指向的 *p 值,然后递增该值。因此,如果 *p 为 10,则其结果为 11。
我错了吗?