22 Ene 2009 @ 9:57 AM 

El lenguaje de programación C maneja 3 tipos de datos primitivos que son: enteros, reales y carácteres

A continuación se muestran los detalles de los tipos de datos soportados:

Enteros

Nombre

Rango

Espacio en memoria

int

Máximo = 2,147,483,647

Mínimo = -2,147,483,648

Unsigned (sin signo)

Máximo = 4294967295

Mínimo = 0

4 bytes

short

Máximo = 32767

Mínimo = -32768

Unsigned (sin signo)

Máximo = 65,535

Mínimo = 0

2 bytes

long long

Máximo = 9,223,372,036,854,775,807

Mínimo = 9,223,372,036,854,775,808

Unsigned (sin signo)

Máximo = 18,446,744,073,709,551,616

Mínimo = 0

8 bytes

Reales (coma flotante)

Nombre

Rango

Espacio en memoria

float

Exponente Máximo = 10^37

Exponente Mínimo = 10^-37

4 bytes

double

Exponente Máximo = 10^308

Exponente Mínimo = 10^-308

8 bytes

Carácteres

Nombre

Rango

Espacio en memoria

char

Máximo = 255

Mínimo = 0

1 byte

Posted By: lgavidia
Last Edit: 22 Ene 2009 @ 09:57 AM

EmailPermalink
Tags


 

Responses to this post » (None)

 
Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



 Last 50 Posts
Change Theme...
  • Users » 11164
  • Posts/Pages » 29
  • Comments » 43
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

Curso PHP



    No Child Pages.

About me



    No Child Pages.