Question 55

Contentof variable flag after following ‘C’ code execution:
Unsigned char flag = 0 $$\times$$ 7 C
flag = flag $$\mid 0 \times 80$$;
flag = flag $$\mid (1 << 4)$$;
flag &=~ (1 << 7);
flag ^= (1 << 6);


Create a FREE account and get:

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

cracku

Boost your Prep!

Download App