Sunday, November 25, 2007

Notes on Data Type

1. void

2. null

3. bool: true/false

------------------------

4. char - 8 bit(1 byte); int - 2 bytes; float; double;
max/min number are defined in limits.h/float.h
short int, int, long int, float, double, long double
signed/unsigned(signed--forced to use a sign)
2e-2: the base e means 10

No comments: