KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Assuming boolean a = false; I was wondering if doing: a &= b; is equivalent to a = a && b; //logical AND, a is false hence b is not evaluated. or on the other hand it means a = a & b; //Bitwise AND. Both a and b are evaluated.
Tags (comma-separated)
Save Edits
Cancel