Question.7
A developer needs a 256-byte UART receive buffer that persists for the entire program lifetime. Which allocation is best?
Select Answer
uint8_t* buf = new uint8_t[256];
static uint8_t buf[256];
uint8_t buf[256];
extern uint8_t buf[256];