Not clear with how to use bitwise operator in code

@Bhavya_Goel
While using bitwise operators, the number gets converted to their binary representation and then the operator is applied.
for example binary of 60 is = 111100
binary of 1 is = …000001
so bitwise ‘and’ operation would give 0;

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.