1 2 3 4 5 6 7 8 9 10
//Functioning of XOR logic printf("\tInput 1\tInput 2\tOutput\n\n") for i=0:1 for j=0:1 printf("\t %d\t %d\t %d\n",i,j,bitxor(i,j)) end end