I've recently been reading Pointers on C book of Kenneth A. Reek. The book has a really nice table of C operators and their precedence levels. However, when I checked other resources to make sure information provided in the book is correct and up-to-date, I've seen there are varying information around. I'll provide precise examples to show what I exactly mean.
The book provides a table where the function call operator ()
has the highest precedence. Postfix increment and decrement operators are coming after. I've checked other resources to validate the information. I've checked this resource and this resource and this resource. The precedence information provided in these resources match with what is explained in Pointer on C book. Problem starts with precedence table in cppreference because it has different precedence rules than other resources.
So am I missing something?