Choose bitwisely

Report a typo

What is the result of the following expression?

int a = 1; // 0001
int b = 3; // 0011
int result = a | b ^ a + 1 << 1;
Select one option from the list
___

Create a free account to access the full topic