Machine-translated by Google. Questions are authored in English.
Top

Discussion

The header that declares the fixed-width integer types is

  • A.stdint.h
  • B.stdlib.h
  • C.stddef.h
  • D.limits.h

Answer: A

It provides uint8_t, int32_t and their companions, whose widths are the same on every target. Writing int and hoping for sixteen or thirty-two bits is how code stops working when it is moved between an 8-bit and a 32-bit part.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.