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

4



Your comments will be displayed only after manual approval.