Possible Duplicate:
Why && and not &
I would just want to know, when would i use a Bit-wise AND
a normal AND
.
I read the a Bit-wise AND
is good for applications that has a memory limit.
Which 1 will be the best to use then, overall?
if (true & false)
{
}
or
if (true && false)
{
}
Wouldn't it be better to always use a Bit-wise AND
then?
No comments:
Post a Comment