Bitmasking problem

tell me something about mask here we also doing and operation?

Hey Neeraj, can your share the code or problem’s name. We are unable to get what exactly you are trying to ask.