Difference between && and &



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
Ebook Download
View all
Learn
View all