Bitwise interview question

Questions based on 3rd & Final Year Project.