Question 32

What is the output of the following C program?

#include <stdio.h>
void main (void)
{
int shifty;
shifty = 0570;
shifty = shifty >> 4;
shifty = shifty << 6;
printf("The value of shifty is %o \n", shifty);
}

Create a FREE account and get:

  • Download Maths Shortcuts PDF
  • Get 300+ previous papers with solutions PDF
  • 500+ Online Tests for Free

Join CAT 2026 course by 5-Time CAT 100%iler

Crack CAT 2026 & Other Exams with Cracku!

Ask AI