You are given an Array. Your task is to complete the function gtXor to return the XOR of the given range a and b.
First line consists of T test cases. First line of every test case consists of 3 integers n,a and b ,denoting number of elements, lower range and higher range respectively. Second line consists of elements of array.
Return the Xor value .
6 1 3
1 3 5 7 9 11
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.