Cloud Stack Ninja

In the C++ tutorials I use to learn C++, they mention the data types of C++. Some of these data types are double and long double with float, and long int, long long int, and short int with int. These vary in bits, as a float contains 32 bits, double contains 64 bits, and so on with a long double. The same thing happens with the int family I think. My question is what do the bits really do? If a long int and int vary in bits on a system, what can the long int do that the int can't? And what are bits and bytes too?

Read more here:

Content Attribution

This content was originally published by Whippingdot at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: