++*p why is equal to ++(*p), the post increment operator is not higher than the value operator?

  c++, question


  1. Please write code using Markdown standard syntax

    ++*p == ++(*p)
  2. It is suggested that you read more books. These are all basic knowledge. Yesterday you also asked the basic question of the pointer.

  3. You look at Baidu Encyclopedia:Operator precedence

These three operators are level

 * pointer value

But pay attention to this sentence:Combination direction: right to left

That is, fromRight to leftCalculation.


++*p equals ++ (*p)


*++p equals * (++p)