Well, first of all, it's two billion integers. If you have a 32-bit address space and intis 4 bytes in size on your platform (typical for a 32-bit platform), you cannot store this many integers, period.
Even so, you only have so much free space on the stack where the automatic variables are located.
, malloc() ( , , free(), !).