MAX XOR PAIR CODE


please tell why i am getting segmentation fault ??