In loops - Finding setbits

How we write binary numbers means how can we get the value of 9 is 00000001001 in binary representation . PLEASE EXPLAIN ME .

@Nikhil-Aggarwal-2320066674901389 hey
Nikhil see this

I can’t understand. Pls generalise this representation

@Nikhil-Aggarwal-2320066674901389 see this

Can I contact you on call after sometime to solve my doubts.

Give your mobile number .

@Nikhil-Aggarwal-2320066674901389 hey nikhil I think we discuss about this on whatsapp.