1)&& is logical operator
true && true is true and everything else is false.
2)& is bitwise and.
(10 & 8) = 8
by using the following manipulation
00000110
&00000100
=00000100
3) true || false =false (logicalm operation)
4)(83 | 15) = 95
00101011
|00000111
=00101111
No comments:
Post a Comment