Int a = 2*3/ 2*5/ 2&1;
Answers
Answered by
0
int a = 2*3/ 2*5/ 2;
int a = 6/2*5/ 2;
int a = 3*5/ 2;
int a = 15/ 2;
int a =7 // since a is integer type
Int a = 2*3/ 2*5/ 1;
Int a = 6/ 2*5/ 1;
Int a = 3*5/ 1;
Int a = 15/ 1;
Int a = 15;
Hope it HELPS
plzzzz mark as BRAINLIEST
Answered by
0
Given: a = 2 * 3 / 2 * 5 / 2 & 1
According to the order of precedence,
- " * " an " / " has an equal precedent value, in this case, therefore, we would operate from left to right while performing the operations.
- " & " or bitwise AND has the lowest precedence.
Therefore,
a = 6 / 2 * 5 / 2 & 1
a = 3 * 5 / 2 & 1
a = 15 / 2 & 1
a = 7 & 1
a = 1
( Since any number other than 0 is TRUE or has the binary value 1, and 1 AND 1 is TRUE or has binary value 1 )
Similar questions