C - pointer behavior with pre and post increment

前端 未结 6 1327
日久生厌
日久生厌 2021-01-22 08:50

In am doing some experiment in C pointers and trying to understand its behaviour. The following are my assumptions for the below codes. Correct me if I am wrong. I have the foll

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-22 09:03

    The order of precedence is also compiler dependent. It may change depending upon compilers. Better use a parenthesis to be sure of output

提交回复
热议问题