C language calculation order problem
平凡的小田
平凡的小田 2020-07-05 10:36:59
0
1
1267

a b

Why is (a) b, not a (b)

Isn’t the calculation order in C language from right to left?

平凡的小田
平凡的小田

reply all (1)
移动用户-5035458

Self-increment and self-decrement are both left-associative, and self-increment has a higher priority than addition, so it is (a) b

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!