1.

A) Write about Associativity of operators along with an example.​

Answer»

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”.



Discussion

No Comment Found