#include <stdio.h> int main() { int i = 65; int k = 120; printf("\n value of i=%d k=%d before swapping", i, k); i = i ^ k; k = i ^ k; i = i ^ k; printf("\n value of i=%d k=%d after swapping", i, k); return 0; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)