I'm very new to C++ and was curious why long and int are the same size (both are 4 bytes/32 bits) on my computer. But according to a data type table an int should be 16 bits and a long 32 bits. Why is this so?
In this case, why would I even consider using a long if they are both the same?
Thank you.