Intel Corporation Interview Question

How to perform Xor in an array?