void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
int a = 5; // initial value of variable a
int b = 8; // initial value of variable b
a = a ^ b; // XOR operation to swap values
b = a ^ b; // XOR operation to swap values
a = a ^ b; // XOR operation to swap values
// After execution, the values of a and b will be swapped
Serial.print("a=");
Serial.println(a);
Serial.print("b=");
Serial.print(b);
}
void loop() {
// put your main code here, to run repeatedly:
}