"Ricardo Albarracin B." <address@hidden> wrote:
> What's size the: (using avr-gcc 3.4.5)
>
> char -> 1 byte
> int -> 2 byte
> short -> ?
> long -> 4 byte
> float -> ?
> double -> ?
Well, you could always use the sizeof operator. ;-)
1, 2, 2, 4, 4, 4
There's also long long with 8 bytes.
For integer types, better use the names from <stdint.h>, like uint8_t,
int16_t, uint_fast8_t etc.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list