Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Does this mean compiler allocates some storage for this code? void (*main)(); Is this not just a declaration, main points to a function that takes an unspecified number of arguments and returns nothing? (as opposed to a definition)? Commented Feb 12, 2010 at 15:10
  • No. it allocate space for a pointer to a function that takes an unspecified number of arguments and returns nothing. char* main; or even void *main; would have accomplished the same thing. Commented Feb 12, 2010 at 15:43