Home > Programacion I > Tipos de Variables

Tipos de Variables

Tipos de Variables por su arquitectura y su rango.

data type

32 size (bits)

64 size (bits)

Range

 

 

 

 

char

8

8

signed: -128 to 127 unsigned: 0 to 255

short

16

16

signed: -32768 to 32767 unsigned: 0 to 65535

int

32

32

signed: -2147483648 to 2147483647 unsigned: 0 to 4294967295

long

32

64

signed: -2147483648 to 2147483647 unsigned: 0 to 4294967295

float

32

32

3.4e +/- 38 (7 digits)

double

64

64

1.7e +/- 308 (15 digits)

long double

128

128

1.7e +/- 308 (15 digits)

Categories: Programacion I
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: