4 ms·
This is a typo of missing an ampersand. If the author were writing Ada, it would have been a typo of missing a “then”. How is it different?
by gene91 5y ago
This is a typo of missing an ampersand. If the author were writing Ada, it would have been a typo of missing a “then”. How is it different?
- Cthulhu_ 5y agoIt's different because in C it changes a boolean comparison to a bitwise one. Is Ada's `and` a bitwise and?
- gpderetta 5y agoFor bool there is no difference between bitwise and and logical and. There is a difference between short-circuiting and non short-circuiting and, hence the distinct operators.