Can an implementation that has sizeof (int) == 1 “fully conform”? [duplicate]
问题 This question already has answers here : Can sizeof(int) ever be 1 on a hosted implementation? (8 answers) Closed 5 years ago . According to the C standard, any characters returned by fgetc are returned in the form of unsigned char values, "converted to an int " (that quote comes from the C standard, stating that there is indeed a conversion). When sizeof (int) == 1 , many unsigned char values are outside of range. It is thus possible that some of those unsigned char values might end up being