Function Prototype (Basic Question)

What is permissible to leave out when coding a function prototype, as opposed to a function header?
Is it leaving out names of arguments.

Is a global constant created at compile time?
Last edited on
For a function prototype, you can leave out the parameter names. Parameter types, however, are necessary.

You can leave out the names in the function header as well, but then you can not use them inside the function.
Topic archived. No new replies allowed.