Question.4
An MCU has 20 KB of RAM. A developer declares static buffers totaling 22 KB:
static uint8_t buf_a[12288]; // 12 KB static uint8_t buf_b[10240]; // 10 KB // Total: 22 KB > 20 KB RAM
What happens?
Select Answer
The excess is silently placed on the heap
Linker error at build time -- the linker cannot fit all static data into the available RAM section; the firmware will not build
Runtime crash when buf_b is accessed
The buffers are placed in Flash instead