Aug 07

This operator operates on two operands. While operating upon these two operands they are compared on a bit by bit basis. Hence both the operands must be of same type.

Truth table

| 0 1
0 0 1
1 1 1

Example

first operand 1 0 1 0 1 0 1 0
Second operand 1 1 0 0 0 0 1 1
result 1 1 1 0 1 0 1 1
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • MySpace
  • Reddit
  • RSS
  • Twitter

written by Shweta