Three variables

Report a typo

Given three int variables n1, n2 and n3. What is the value of the result variable?

int n1 = 1;
int n2 = 2;
int n3 = 4;

int result = n1 & n2 | n3;
Enter a number
___

Create a free account to access the full topic