hello everybody,
please help me in solving the problem of finding the XOR value of 4 bits as i require it in my project. i tried ^ sign, but it doesnt work for four variables? kindly help

Show us what code you did use and perhaps we can help you understand why it did not work.