Bitwise Operators in C, XOR gate Truth Table
C Programming Language / Operators and Enums in C Language
1469Program:
//XOR gate Truth Table #include"stdio.h" void main() { printf(" 0 ^ 0 = %d \n", 0^0 ); printf(" 0 ^ 1 = %d \n", 0^1 ); printf(" 1 ^ 0 = %d \n", 1^0 ); printf(" 1 ^ 1 = %d \n", 1^1 ); }
Output:
0 ^ 0 = 0 0 ^ 1 = 1 1 ^ 0 = 1 1 ^ 1 = 0 Press any key to continue . . .
This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.
# C Tutorials
# JAVA Tutorials
# HTML Tutorials
# Computer Fundamental
# Data Structure
# DBMS Tutorials
SQL
# C# Language
# R Language
# PHP
# Python
# Vue JS