Home » C Programming » Operators » Question
  1. What will be the output of the following C code?
     #include <stdio.h>
    int main()
    {
    int p1 = 3, p2 = 5;
    int p3 = p1 & p2 == 4;
    printf("%d\n", p3);
    }
    1. Undefined behaviour
    2. 0
    3. 1
    4. 2
    5. Compilation Error
Correct Option: B

0



Your comments will be displayed only after manual approval.