Variables i and j each have associated values. Swap them, so that i becomes associated with j 's original value, and j becomes associated with is original value. You can use two more variables itemp and jtemp

Variables i and j each have associated values. Swap them, so that i becomes associated with j 's original value, and j becomes associated with is original value. You can use two more variables itemp and jtemp



Answer: i, j=j ,i


Learn More :