Datentypen

Datentyp Speicherplatz Wertebereich

char 1 Byte -128 bis +127 (für ASCII-Zeichen)
unsigned char 1 Byte 0 bis +255 (für erw. ASCII-Zeichen)
short int 2 Byte -32.768 bis +32.767
unsigned short int 2 Byte 0 bis 65.535
long int 4 Byte -2.147.483.648 bis 2.147.483.647
unsigned long int 4 Byte 0 bis 4.294.967.295
float 4 Byte -3,4 * 10 hoch 38 bis 3,4 * 10 hoch 38
double 8 Byte -1,7 * 10 hoch 308 bis 1,7 * 10 hoch 308
bool 1 Byte true, false

Leave a Reply

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

*

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>