Share
Explore BrainMass

Write an equivalent statement that is fully parenthsied

Int a=1,b=2,c=3:
a+=b+=c+=7
vhat are values of a,b and c

Solution Preview

Dear friend

fully paranthesis equivalent is as "a=a+(b=b+(c=c+7));"

statement is evaluated from right to left.
(a=a+b+c+7 b=b+c+7, c=c+7 ) ...

$2.19