Saved Bookmarks
| 1. |
WAP to demonstrate associatiativity of operators |
|
Answer» Operators Associativity is USED when TWO operators of same precedence APPEAR in an expression. Associativity can be EITHER Left to Right or Right to Left. For example: ‘*’ and ‘/’ have same precedence and their associativity is Left to Right, so the expression “100 / 10 * 10” is treated as “(100 / 10) * 10”.Explanation: |
|