Tutorial de Lenguaje C                                                                                                   Dr. Roberto Gómez
 
 


RANGOS DE LAS CONSTANTES ENTERAS Y REALES


Tipo                                           Longitud                                                             Rango
unsigned char                       8  bits                                        0                              a            255
char                                          8  bits                                        -128                        a            127
unsigned short                    16 bits                                         0                              a           65, 535
short                                       16 bits                                         -32,768                   a           32,767
unsignted int                       32 bits                                         0                              a           4,294,967,295
int                                           32 bits                                         -2,147,483,648      a           2,147,483,647
unsigned long                     32 bits                                         0                              a           4,294,967,295
long                                        32 bits                                         2,147,483,648       a           2,147,483,647
float                                       32 bits                                          3.4E-38                   a           3.4E+38
double                                  64 bits                                          1.7E-308                 a          1.7E+308
long double                         80 bits                                          3.4 E-4932             a          1.1E+4932

MENÚ PRINCIPAL