Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

bss

The part of a program that holds global variables starting at zero; the file only records its size, and the system supplies the zeros.

The bss section (.bss on ELF and COFF, __DATA,__bss on Mach-O) reserves zero-initialized static storage; it occupies no bytes in the file, only a size, and is filled with zeros when the program is loaded.

Examples

  • long scratch[512]; at file scope goes in bss: 4,096 bytes in memory, none of them in the file.

Read the full section →