Examveda

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

A. -2147483648

B. -1

C. Run time error

D. 8

Answer: Option D


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals