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

1



Your comments will be displayed only after manual approval.