5 ms·
If I'm not mistaken, the `(bool)` is unnecessary due to how implicit conversion works: `In a return statement, the value of the operand of return is converted t
by stefanos82 3y ago
If I'm not mistaken, the `(bool)` is unnecessary due to how implicit conversion works: `In a return statement, the value of the operand of return is converted to an object having the return type of the function` [1] ...unless I understood it incorrectly :/
[1] https://en.cppreference.com/w/c/language/conversion https://en.cppreference.com/w/c/language/conversion
- swinglock 3y agoThat's correct.