Ans:
No the result of sub() and rsub() is not same because performing subtraction on two different operands in different order can produce different result.
for example:
A.sub(B) -> A – B
and
A.rsub(B) -> B – A
Ans:
No the result of sub() and rsub() is not same because performing subtraction on two different operands in different order can produce different result.
for example:
A.sub(B) -> A – B
and
A.rsub(B) -> B – A