What is the size of the int, char and float data types?

The size of the char and int are always dependent on the underlying operating system or firmware. This is limited to the number of address lines in the address bus.
The int usually takes up a value of 2 bytes or 4 bytes. The char can take up a space of 1 or 2 bytes. The float data type takes up a value of 4 bytes.

Related Questions

Category: Embedded Systems Interview Questions.