# C++ XOR solution to an odd occurrence

I came across the following problem on codility.com, and the solution turns out to be so simple. So here, today I learnt…

**Problem:**
A non-empty zero-indexed array A consisting of N integers is given. The array contains an odd number of…