Quote:
Originally posted by mikm
1 || 2 / 0 is an invalid statement. First off, you cannot do boolean operations on integers,
|
Of course you can, they're performed bitwise: 1 || 2 == 3
(or is that the difference between | and ||? haven't done any C in ages
/looks it up: ah yes, || is the logical operator, | the bitwise one)
Quote:
Originally posted by mikm
and you can't divide booleans.
1 | 2 / 0 makes sense, although it is a completly pointless statement, given that anything divided by 0 equals 0.
|
no, it'll throw an error (and approximating it goes against infinity of course, not zero)
Quote:
Originally posted by mikm
Anyways, what does 6,ºüb mean?
|
division by zero error?