What are precedence and associativity? plz
Answers
Answered by
1
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”.
Answered by
3
Answer:
- Precedence:the condition of being considered more important than someone or something else; priority in importance, order, or rank."his desire for power soon took precedence over any other consideration.
- Associativity:associative or connective manner. When you brainstorm, you think associatively, letting one idea lead to another or exploring the connections among ideas.
Similar questions
Math,
5 months ago
Chemistry,
5 months ago
English,
5 months ago
Math,
11 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago