C
candide
According to the official documentation, the ternary operator has left-to-right associativity :
-------------------
Operators in the same box group left to right (except for comparisons, including tests, which all have the same precedence and chain from left to right -- see section Comparisons -- and exponentiation, which groups from right to left).
-------------------
Nevertheless, the ternary operator grouping seems to be from right to left, compare :
-------------------
Operators in the same box group left to right (except for comparisons, including tests, which all have the same precedence and chain from left to right -- see section Comparisons -- and exponentiation, which groups from right to left).
-------------------
Nevertheless, the ternary operator grouping seems to be from right to left, compare :