#include <stdio.h>
int main(void) {
int x0 = 0, x1 = 0, x2 = 1;
printf("Valor de x0 | x2: %d\n", x0
| x2
); printf("Valor de x1 | x2: %d\n", x1
| x2
); printf("Valor de (x1 | x2) << 1: %d\n", (x1
| x2
) << 1); printf("Valor de (x0 | x2) | (x1 | x2) << 1: %d\n", (x0
| x2
) | (x1
| x2
) << 1); }
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgeDAgPSAwLCB4MSA9IDAsIHgyID0gMTsKCXByaW50ZigiVmFsb3IgZGUgeDAgfCB4MjogJWRcbiIsIHgwIHwgeDIpOwoJcHJpbnRmKCJWYWxvciBkZSB4MSB8IHgyOiAlZFxuIiwgeDEgfCB4Mik7CglwcmludGYoIlZhbG9yIGRlICh4MSB8IHgyKSA8PCAxOiAlZFxuIiwgKHgxIHwgeDIpIDw8IDEpOwoJcHJpbnRmKCJWYWxvciBkZSAoeDAgfCB4MikgfCAoeDEgfCB4MikgPDwgMTogJWRcbiIsICh4MCB8IHgyKSB8ICh4MSB8IHgyKSA8PCAxKTsKfQ==