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
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Ankit NandekarPosted May 25, 2011, 12:21 PM
its a operator.
Ankit NandekarPosted May 25, 2011, 12:21 PM
its a operator.
Ravi K KashyapPosted May 25, 2011, 10:08 AM
what does this '&' means?