Could anybody tell me what is the following code? Is it function declaration or statement? Is it valid code?
static void (*const handle_screens[NO_OF_SCREENS]) (void) =
{ status_screens, settings_screens, access_screens, configuration_screens,
history_screens };
its a constant array of function pointers that of signature void foo(void)
Those are the easy ones. Google C Complex Declaration for the exciting ones.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With