Answer the question
In order to leave comments, you need to log in
Why is there a fixed size for integer types in C?
Greetings.
There are several questions:
1) Why do we need such data types as: int8_t, int16_t and so on. As far as I understand, for better portability of the code, because. on different platforms, the bit size of standard types is different. How true is this?
2) I also heard that these types are used in programming microcontrollers. Can they be used in regular scripts to better control virtual memory consumption?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question