Parameter names

In a function definition, each parameter must have an identifier. In a function declaration, or prototype, specifying an identifier is optional. Thus, the following example is legal in a function declaration:

int func(int,long);
C++ only

The following constraints apply to the use of parameter names in function declarations:

End of C++ only


[ Top of Page | Previous Page | Next Page | Contents | Index ]