Don't confuse &&, which is the short-circuit logical and, with &, which is the uncommon bitwise and. Altho the bitwise and can also be used with boolean operands, this is extremely rare and is almost always a programming error.
Showing posts with label logical. Show all posts
Showing posts with label logical. Show all posts
Sunday, 22 May 2011
&& vs & operator
Subscribe to:
Comments (Atom)