Question.1
A developer constructs a Sensor in a static buffer:
#include <new> static alignas(Sensor) uint8_t buf[sizeof(Sensor)]; Sensor* s = new (buf) Sensor(10);
Where does the Sensor object live?
Sensor
Select Answer
Inside static buffer
static buffer
Inside heap memory
heap
Inside stack memory
stack
Inside flash memory
flash