Better Save Space
Two versions of the same program differ in one character. The array is 4 MiB.
/* version A */
static int table[1048576];
/* version B */
static int table[1048576] = { 1 };
One of these produces an executable file on disk that is roughly 4 MiB larger. Which one, and why?
Sign in to answer questions and track your progress
Sign In