Hey guys, quick question:
in my programming notes in college an int is supposed to be 2 bytes and a long double is said to be 10 bytes.
However, when using the sizeof unary operator in visual c++ 2005 express edition, an int is 4 bytes and a long double is 8 bytes.
Could someone please explain?
in my programming notes in college an int is supposed to be 2 bytes and a long double is said to be 10 bytes.
However, when using the sizeof unary operator in visual c++ 2005 express edition, an int is 4 bytes and a long double is 8 bytes.
Could someone please explain?