Why we cant use directly a+b instead of c

Hi @manthansrivastav1234

If you will not use ‘C’, then how will you swap the values for next iteration.

Hey @manthansrivastav1234
Try to do what u are saying and you will understand why u cant do that :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.