Sort:  

Consider two bitstrings:
0101101011
1001011110

Their bitwise multiplication (aka "logical and") is the following string:
0001001010

Their bitwise addition (=subtraction, aka "logical xor") is the following string:
1100110101

"Bitwise" means you perform the operation separately for each corresponding bit. The first bit of the first string is 0, the first bit of the second string is 1, their product is 0, and their sum is 1 - these are the first bits of the corresponding result bitstrings, and so on.

Note that 1+1 is defined as 0, i.e. you "overflow the bit value", although this is not even important for the problem at hand.

thanks very clear

Coin Marketplace

STEEM 0.16
TRX 0.16
JST 0.031
BTC 59214.59
ETH 2524.82
USDT 1.00
SBD 2.48