Please check my code for Subarray with Maximum Xor

Link to Code->https://ide.codingblocks.com/s/610734

you have to pass csum array
not input array from main()