whats wrong in my code plzz comment it out
Https://ide.codingblocks.com/s/267996
Error is because of line 25, you cannot perform XOR operation on the whole array.
You are performing a^a[i]. Xor operations can only be performed between two integer.
Correct that part.
Check if it is giving the correct answer.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.