Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT arr = [ 5 , 4 , 10 , 15 , 7 , 6 ] NEW_LINE n = len ( arr ) NEW_LINE x = 5 NEW_LINE print ( " Count ▁ of ▁ pair ▁ with ▁ given ▁ XOR ▁ = ▁ " + str ( xorPairCount ( arr , n , x ) ) ) NEW_LINE DEDENT