1. nemra

    Low-level programming (drivers, device interfacing, firmware, etc) usually is specific to the number of bits in their data types, so uses exact-width integer types like uintN_t.

    But if you are programming for a higher level and within a system, then you may not care the number of bits a char is, so char just represents a single character like ‘A’ or 1, but may not be 8 bits, although most systems this is 8-bits.

    uintN_t was introduced in the C99 standard to address these integer width issues and to make programs portable.

Leave a Reply

Your email address will not be published. Required fields are marked *