State machines are so common that there are tools devoted to creating them by drawing circles and arts. There are simulators that will recognize your state machine ...
Function pointers can be used for a wide variety of applications including the implementation of state machines. Just like any tool, it may not always be appropriate to use function pointers for a ...