Add two binary numbers

In Julia the code is like this:

julia> 0b1 + 0b11
0x04

In case you want to see it in the true binary representation, use bitstring(n):

julia> bitstring(0b1 + 0b11)
"00000100"
5 Likes