Algorithm and flowchart of interchanging the values of two number.
Answers
Answered by
1
int a=1,
int b=2;
int c;
c=b //c is now 2
b=a //b is now 1
a=c //a is now 2
int b=2;
int c;
c=b //c is now 2
b=a //b is now 1
a=c //a is now 2
Similar questions