Datatypes Modifiers
There are also name implies - datatype modifiers. They can modify the length of data that a particular data type can hold.
signed- to take negative and positive values.unsigned- to take only positive diapason of values.short- to short the diapason and memory needed for your program.long- to lengthen the diapason and memory required for your program.
short int a; // size: 2 bytes range: -32 768 to 32 767
long int b; // size: 4 bytes range: -2 147 483 648 to 2 147 483 647
signed char c; // size: 1 byte range: -128 to 127
unsigned char d; // size: 1 byte range: 0 to 255
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 2
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 2.94
Datatypes Modifiers
Glissez pour afficher le menu
There are also name implies - datatype modifiers. They can modify the length of data that a particular data type can hold.
signed- to take negative and positive values.unsigned- to take only positive diapason of values.short- to short the diapason and memory needed for your program.long- to lengthen the diapason and memory required for your program.
short int a; // size: 2 bytes range: -32 768 to 32 767
long int b; // size: 4 bytes range: -2 147 483 648 to 2 147 483 647
signed char c; // size: 1 byte range: -128 to 127
unsigned char d; // size: 1 byte range: 0 to 255
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 2