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

28



Your comments will be displayed only after manual approval.