4 ms·
Yes, the rule applies to all three character types.
by saagarjha 5y ago
Yes, the rule applies to all three character types.
- jhgb 5y agoThanks. This seems mildly ungoogleable, or at least I haven't been able to find a good search result for this. So I'll keep in mind that these are three distinct types with the same aliasing behavior.
- saagarjha 5y agoActually, I take that back and should clarify: it's all three only in C. In C++ it is just char and unsigned char. (If you want to search for this, "signed char aliasing" gave me good results.)