Answer :

#include<stdio.h>  //header file contains the function,decleraction and macro defination of key words used in code.

int main ()

{

int num1=10,num2=20; //adressing the variables

printf("Before Swaining Num1 = %d and Num2=%d\n",num1,num2);//output

num1=num1^num2;  /*swaping the numbers usingbiteise operator.

                       swaping means interchanging the value of variables*/

num2=num1^num2;

num1=num1^num2;

printf("After Swaining Num1 = %d and Num2=%d\n",num1,num2);//output

}

Output :