I have to apply an xor over two arrays like let's say I have :
array_1: 1 0 1 0 1 1
array_2: 1 0 0 1 0 1
I would like to have a function that accepts two arrays and returns an array applying the XOR, so in this case I would like this function to return:
returned_array: 0 0 1 1 1 0
Please help me with an algorithm .. Thanks !