Costs Nothing On Disk
int g_init = 7;
int g_zero = 0;
static int s_uninit;
char big[4 * 1024 * 1024];
int main(void) {
static int counter = 0;
int local = 3;
int *p = malloc(sizeof(int));
return local + *p;
}
The compiled executable on disk is about 20 KB. Which of these objects live in the BSS, the region between edata and end?
Sign in to answer questions and track your progress
Sign In