Single Choice Not Set

QWhat will be the output of the program?

#include<stdio.h>

int main()
{
    printf("%d >> %d %d >> %d\n", 4 >> 1, 8 >> 1);
    return 0;
}

ID: #1176 Operators and Enums in C Language 2,963 views
Question Info
#1176Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 4 1 8 1
  • B 4 >> 1 8 >> 1
  • C 2 >> 4 Garbage value >> Garbage value
  • D 2 4
Correct Answer

Explanation

Option C

Share This Question

Challenge a friend or share with your study group.