Ternary operator

In reply to designMaster:

Operators are usually restricted only by the data types of allowed operands(‘a’ must be an integral type; ‘b’ and ‘c’ should have assignment compatible types). Operands may have restrictions based the location from where they are declared or referenced.

The only operators that have some restrictions based on their location are the ones involving an assignment (++, – +=, etc.)