posted 13 years ago
Hello,
I'm having difficulty understanding why I can't write code where a byte (8-bits) is promoted to a char (16-bits).
For example the following code causes the compiler to complain of a possible loss of precision:
Please could someone help me understand why this is the case?
Thanks!
Dave