In Bitwise operators

logic of writing code of how they operate on numbers

hi nikhil
can you please elaborate your doubt

Mam, which method is apply, so that value of 5 is 101 and value of 7 is 111.