Compares two expressions bit by bit and returns 1 for a position bit if both compared postitions are 1. Returns 0 for that position bit if one or both compared positions are 0. The following list shows all possible combinations:
두개의 비트를
비교하여 두개의
비트가 1 일때에만 1 을
반환합니다. 둘중의
하나가 0 이거나 둘다 0
인경우 ㅐ 이
반환됩니다. 다음은
모든 가능한 조합을
보여 줍니다.
1 & 0 // Evaluates 0 because the second is 0 0 & 1 // Evaluates 0 because the first is 0 1 & 1 // Evaluates 1 because both are 1 0 & 0 // Evaluates 0 because both are 0
|