I have a simple question: how to give a function pointer a initial value, of kind of void..
typedef void (*FunctionPointer)();
FunctionPointer func; //how to init here
..... (func var may or may not be assigned a value here)
func()
So I want variable func to have an initial value, something like func = void() How can I achieve this? Thanks.