Question
Two different operators would always have different Associativity.
Answer: Option B
Was this answer helpful ?
No, Two different operators may have same associativity.
Example:
Arithmetic operators like ++, -- having Right-to-Left associativity.
Relational operators like >, >= also have Left-to-Right associativity.
Was this answer helpful ?
Submit Solution