3 ms·
I was pretty sure that char to int/int to char in addition was implicit...
by qwertyuiop924 10y ago
I was pretty sure that char to int/int to char in addition was implicit...
- tempodox 10y agoYes, but the char still has to be extended to int. Or the int truncated to char. Except on systems where they happen to be the same size. EDIT: Supplement: The notion of “type” in C is best translated as “memory layout plan”. Languages of the ML family (including Haskell), e.g., have a notion of “type” closer to mathematical concepts.