Domanda di colloquio di FAA

What are your thoughts on function pointers?

Risposta di colloquio

Anonimo

17 mag 2016

They are pointers to functions. I prefer to use the standard function call when possible. They are frequently used in event/message handler tables for some RTOSes. Like most classes of pointers, I don't have a strong opinion about hem one way or another.