Back to Browse

C-Program of XOR calculation(2 single bit inputs)

3.5K views
Jul 18, 2018
11:24

The XOR gate (sometimes EOR gate, or EXOR gate and pronounced as Exclusive OR gate) is a digital logic gate that gives a true (1 or HIGH) output when the number of true inputs is odd. An XOR gate implements an exclusive or; that is, a true output results if one, and only one, of the inputs to the gate is true. If both inputs are false (0/LOW) or both are true, a false output results. XOR represents the inequality function, i.e., the output is true if the inputs are not alike otherwise the output is false. A way to remember XOR is "one or the other but not both" In this C program, we will calculate the XOR function between two bits(i.e: 0 or 1) and print the result, on the screen. The two bits(i.e: 0 or 1) will be taken from the user. Get more from our blog/website : https://programjoy.blogspot.com/ Follow our Facebook page : https://www.facebook.com/ProgramJoyOfficial/ Follow our Twitter Profile : https://twitter.com/programjoy Keep visiting us, Keep Supporting us. Code_Run_Joy...

Download

1 formats

Video Formats

360pmp414.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

C-Program of XOR calculation(2 single bit inputs) | NatokHD