Monday, December 10, 2007

How to work with the BASIC DATA TYPE

How to work with the BASIC DATA TYPE

To work with the BASIC DATA TYPE.

DATA TYPE

C++ KEYWORD

BITS

RANGE

character

char

8

0 to 255

floating point

float

32

Approximately 6 digit of precision

double floating point

double

64

Approximately 12 digit of precision

integer

int

16

-32768 to 32767

short integer

short

8

-128 to 127

long integer

long

32

-4294967296 to

4294967295

unsigned integer

unsigned

16

0 to 65535

No comments: