196. Function Pointer

Question.2

A developer forgets to register a callback:

void (*callback)(void) = nullptr;

void Button_ISR() {
   callback();  // No null check!
}

What happens when the ISR fires?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!