#include<stdio.h>
#include<conio.h>
void main()
{
int x,y,z;
clrscr();
printf("Enter first number, x= : ");
scanf("%d",&x);
printf("Enter second number, y= : ");
scanf("%d",&y);
z=x^y;
printf("\n%d ^ %d, = %d",x,y,z);
getch();
}
///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........