?
Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5?
Answer & Solution
Correct Answer:
Option
B
As the expression is evaluated from right to left.
Join the Discussion
Login to post a comment or share your explanation.
Loginc = c*5 =100
b = b-c =110-100 =10
a =b =10
b=b-c=110-100=10 and the question now becomes a=b=10;
the answer to this question starts by evaluating from right to left.