0
1.7kviews
Explain the structure of a typical C source program for ARM based target processor. Typically list the various types along-with memory size supported by a C compiler.
1 Answer
written 5.2 years ago by | • modified 5.2 years ago |
Type | Storage Size | Value Range |
---|---|---|
char | 1 byte | -128 to 127 or 0 to 255 |
unsigned char | 1 byte | 0 to 255 |
signed char | 1 byte | -128 to 127 |
int | 2 bytes | -32,768 to 32,767 |
unsigned int | 2 bytes | 0 to 65,535 |
short int | 1 byte | -128 to +127 |
unsigned short int | 1 byte | 0 to 255 |
long int | 4 bytes | -2,147,483,648 to 2,147,483,647 |
unsigned long int | 4 bytes | 0 to 4,294,967,295 |