Please find error and help me

https://ide.codingblocks.com/s/40064

if the question is to just compute the xor of elements of array then your code is fine otherwise share the question link .