The truth table of XOR is as follows:
|XOR(^)||  0  ||  1  |
Thus whatever the current value of c may be when it is XOR'ed with itself, the only combinations possible are 00 and 11 which results in a zero (as seen in truth table). Thus all bits become zero after xor operation making the value of c zero.
About our authors: Team EQA
You have viewed 1 page out of 248. Your C learning is 0.00% complete. Login to check your learning progress.
Questions index C Questions C++ Questions Win32 MFC COM/DCOM DLL Questions
Compilers & Editors
Download Visual Studio Download XCode Download Visual Studio Code Android studio install sdk Eclipse installer Best C compilers IDEs
Development system setup
Windows media creation tool MSDN subscription Ubuntu virtualbox
New updated posts
Why learn C? Draw on printer Memory leaks