Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Wednesday, 3 April 2019

The Interview Question Today#36(4-4-19)


2 comments:

  1. Why it will select last 2 bits??

    ReplyDelete
    Replies
    1. Because See the Statement in the struct we have defined that is
      int p:3; which tell the compiler to take only three bits so the number representation start from lsb so that why it's takes only last three bits in above example.
      similarly for other two cases.

      Delete