Practice mode C Language

Which standard header defines exact-width integer types such as int32_t and uint8_t?

Correct answer A. <stdint.h>

Explanation

C99 introduced for fixed-width types such as int32_t and uint8_t plus their limit macros like INT32_MAX. only gives the ranges of the basic types (INT_MAX, CHAR_BIT), and provides size_t, ptrdiff_t and NULL. Exact-width types are optional only where the hardware cannot represent them, which is rare on modern machines.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

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

Links and website addresses are not allowed in comments.