$x$ ^ $x$ $=0$
The value which will come after applying the operation of option $(b)$ is the value which is not in the $array$. So, now we know all the values that are in the array, and we can find the missing value.
For example :
Let the values of the array we know are $1,3,5,6$, and let $4$ be the missing value.
When we apply option $(b)$ we get value $6$, so we know the values in the array are $1,3,4,5,6$, so we found the missing value in the array $i.e.\,4$