Skip to content

Instantly share code, notes, and snippets.

@codepedia
Created January 30, 2016 02:32
Show Gist options
  • Save codepedia/d76c1631948ae743ae3e to your computer and use it in GitHub Desktop.
Save codepedia/d76c1631948ae743ae3e to your computer and use it in GitHub Desktop.
Bitwise , beause we operate on bits ..example the number 5 has the binary represenation of 01100001 . Bits can also be translated into
true or false.where repersenting a number where 1 will be false and 0 will be true.
Given two binary strings, complete the following logic operation:
01101 xor 01101
The answer is :
01101
00000
_______
10010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment