Why sizeof(int) is not greater than -1? [duplicate]

Because sizeof(int) is unsigned. So -1 is converted to a large unsigned value.

Leave a Comment