Last active
December 25, 2017 23:10
-
-
Save reza-ryte-club/49c425c48b7400fb37b03940dcc2d306 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let bitOne = 0b100111 | |
let bitTwo = 0b101000 | |
print(String(bitOne&bitTwo, radix: 2)) // Print the binary AND output 100000 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment