Hi,
I've run across what I believe is a minor error in the man page for C
operators (https://man7.org/linux/man-pages/man7/operator.7.html ).
The man page lists casting in the 2nd row of the table:
Operator Associativity Notes
() [] -> . ++ -- left to right [1]
! ~ ++ -- + - (type) * & sizeof right to left [2]
* / % left to right
However, in "C A Reference Manual" (5th ed.), table 7-3 on pg. 205 shows
that all of the operators in row 2 above have a precedence of 15 except
for casts which have a precedence of 14. Consequently, the man page
should display casts as the (new) 3rd row in the table above.
Thanks for your effort in maintaining this documentation.
--
Have all good days!
David Sletten