Home » C Programming » Operators » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    int a = 4, b = 4;
    int c = a ^ b & 3;
    printf("%d\n", c);
    }
    1. Compilation Error
    2. 4
    3. 3
    4. Runtime Error
    5. None of these
Correct Option: B

4



Your comments will be displayed only after manual approval.