9 years, 8 months ago.

What is the sizeof(void *) in MBED complier?

Is there someone knows about how many bytes of the sizeof(void *) and sizeof(short) in MBED compiler, Now I am using Mbed LPC1768. Many Thanks!

1 Answer

9 years, 8 months ago.

Shorts are two bytes (int16_t) in mbed. Pointers (void *) are 4 bytes.