sizeof can be applied only to data objects, not functions.
You can request the size of a pointer to a function.