Write is an expression ?write the priority and associativity of different arithemetic operator in C .evaluate 2+4*5/2-2/4+2%5
Answers
Answered by
0
Answer:
Precedence and associativity
Precedence Operator Description
5 a*b a/b a%b Multiplication, division, and remainder
6 a+b a-b Addition and subtraction
7 << >> Bitwise left shift and right shift
8 <=> Three-way comparison operator (since C++20)
Similar questions