integer out of range

ponce via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 3 03:22:13 PDT 2014


On Thursday, 3 July 2014 at 10:15:25 UTC, pgtkda wrote:
> why is this possible?
>
> int count = 50_000_000;

int is always 4 bytes, it can contains from -2_147_483_648 to 
2_147_483_647.


More information about the Digitalmars-d-learn mailing list