Sunday, September 6, 2020

bool, char, int, float, long, double, .... = data types in C

bool      1 byte
char      1 byte
int         4 bytes
float      4 bytes                    (in most systems these days, these are the amount of space these data
long      8 bytes                      types are most likely to take up)
double  8 bytes
string    ? bytes
....
....


cs50, lec2