SyntaxFix
Write A Post
Hire A Developer
Questions
In 32 bit format system the hexadecimal value 0xff represents 00000000000000000000000011111111 that is 255(15*16^1+15*16^0) in decimal. and the bitwise & operator masks the same 8 right most bits as in first operand.
0xff
00000000000000000000000011111111
255(15*16^1+15*16^0)