11 years, 3 months ago.

bits occupied by int variable

Hi,

New to programming! I know that int and float occupy different bytes depending on compiler. 1. Is it correct? 2. If yes, what is the bytes for short int, int, long int, float and double in mbed compiler

Regards, manants

1 Answer

11 years, 3 months ago.

See: http://mbed.org/handbook/C-Data-Types

Accepted Answer