The expression a b c d g e f is evaluated as a a b c
The expression (a * b / c + d * g % e - f) is evaluated as:
a) (a * b )/ (c + d) * (g % e) - f
b) (a * b/ c)+ (d * g) % (e - f)
c) ((a * b / c) + (d * g % e) - f)
d) ((a * b) / (c + d * g) % e - f))
e) (a * (b / c) + d * (g % e - f))
Solution
Ans)C
by usng this ((a * b / c) + (d * g % e) - f) expression we will get the same result as (a * b / c + d * g % e - f) this .The operations will be perfomed based on the order of precedence of operators.The order of precedence is multiplication(*),division(/),modulas(%),addition(+),subtraction(-).
