Set Bit and Binary

If I write cin>>x x here is some number then input taken by computer is on binary or as 9 itself
because in counting set bits we write cin>>2 and write n>>1,it quite confusing

Hi @sudiptakdas, when you input a number it is treated a binary in sense of storage and is treated as the value given when we need to use/fetch the value.