Swapping




Code

#include < stdio.h >

#include < conio.h >

int main(){

int a, b, temp;

temp = a;

a = b;

b = temp;

return 0 ;

}

Memory

 

temp

 

num1

 

num2