Computer Science, asked by preetdullat9014, 1 year ago

Draw a flowchart of swapping two numbers by using only two variables. Remember the numbers will be given by the user. Eg. Input will be like X=25, Y=56

Answers

Answered by iamsumit111
0

Answer:

x=x^y;

y=x^y;

x=x^y;

Explanation:

By using xor operator we can swap.

Similar questions