calendar check if month is 30 days 1

calendar check if month is 30 days

if( 0x0A50 & (1<

Here is what the above code is Doing:
1. We are using the bitwise AND operator to check if the bit corresponding to the month is set or not.
2. We are using the bitwise OR operator to set the bit corresponding to the month.
3. We are using the bitwise NOT operator to unset the bit corresponding to the month.
4. We are using the bitwise XOR operator to toggle the bit corresponding to the month.

Similar Posts