What do you mean by precedence and associativity of operators 2024?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at Microsoft, Lives in Redmond, WA
Operator precedence determines which operator is performed first in an expression with more than one operators with different precedence. For example 10 + 20 * 30 is calculated as 10 + (20 * 30) and not as (10 + 20) * 30. Associativity is used when two operators of same precedence appear in an expression.
2023-05-11 10:17:41
评论(499)
Helpful(122)
Helpful
Helpful(2)

Emily Allen
QuesHub.com delivers expert answers and knowledge to you.
Operator precedence determines which operator is performed first in an expression with more than one operators with different precedence. For example 10 + 20 * 30 is calculated as 10 + (20 * 30) and not as (10 + 20) * 30. Associativity is used when two operators of same precedence appear in an expression.