Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

The GNU C Programming Tutorial - Bitwise AND

Node:Bitwise AND, Next:, Previous:Bitwise NOT, Up:Truth tables and bit masks



Bitwise AND

Bitwise AND operates on two values, for example 0 & 1. Both the first value and the second value must be 1 in order for the result to be 1. As a truth table this would be summarized as follows:

value1 value2 result
0 0 0
0 1 0
1 0 0
1 1 1

 
 
  Published under free license. Design by Interspire