LearnFrenzy
Sign in Take a free test

Data Types · Data Types MCQ · Question 9

int32_t vs int_least32_t in C Answer, explanation & discussion

  • MCQ
  • Hard
  • 0 comments
  • Answer explained
  • Moderated community
Question 9 Back to Exercise

Which statement is true?

  • A int32_t is exactly 32 bits and optional; int_least32_t has at least 32 bits and always exists Correct
  • B int32_t always exists; int_least32_t is optional
  • C They are identical
  • D Both are exactly 64 bits
Correct Answer: Option A

Exact-width types exist only where the hardware has such a type (every mainstream CPU does). The least and fast variants are guaranteed on every implementation.

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links