Storing 10^10 numbers

I stored 10^10 numbers in a vector . And then i ran the program on C++ 11 on codechef and it gave correct answer.

However i want to know when i ran the same program on C++ 4.3.2 it gave Segmentation Fault.

Why is that happening ?

//