•int
array[1000000]; // 4Mb
•Program
size on disk is 32Kb
•array
is put into .BSS segment that contains only
information about its size
•int
array[1000000] = { 12 };
•Program
size on disk 3.84Mb
•array
is put into .DATA segment and contains {
12, 0, 0, 0, 0 … }
•