Hello everyone.
The functions will be in the global scope right?

So, returning a pointer from a function, where the pointer is a function pointer, must not be illegal right?

Also, what address is held by the function pointer? Is it the first instruction's(in the function) address from the text segment?

Can anyone please explain?
Thanks in advance.

Functions are in the global scope, you can return a pointer to any function (even a static one) and the pointer will be valid.

The address might well be the address of the first instruction in the function however the true answer to your question is that it is platform defined, i.e. there is no one answer that is necessarily correct for all platforms.