Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int x = 3, y = 2;
    int z = x << 1 > 5;
    printf("%d\n", z);
}

A. 1

B. 0

C. 3

D. Compile time error

Answer: Option A


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals