C function declaration

c, function

Solution

For a two dimensional array, you have to supply a size for the last dimension otherwise the compiler doesn't know how to use it. (it's fine to omit the name though.)

like this:

extern int ap( char[][10] );

Problem

can we declare a function in a header file in following way? ``` extern int ap( char[][] ); ``` can we use char[][] in function?

Original source