Compiling error when calling a function pointer in C
<p>I am writing a program that calls a function pointer that points to a function from another file. When I compiled the program, I received an error message from the compiler saying that there was an expected expression. 
Here is one of the four errors produced: </p>

<pre><code>error: expected expression
(*get_num)(int *, int *);
</code></pre>

<p>The compiler says that the expression is expected between the <code>(</code> and the <code>int</code>.
The same error is shown for each of the other three function pointer calls. 
Am I calling the the function pointer correctly?</p>

<pre><code>#include &lt;stdio.h&gt;

int getnum(int items[], int *amount);
int sortnum(int items[], int amount);
int printnum(int items[], int amount);
int searchnum(int items[], int amount);

int (*get_num)(int *, int *);
int (*sort_num)(int *, int);
int (*print_num)(int *, int);
int (*search_num)(int *, int);

int main()
{
    int items[maxitem];
    int amount;

    get_num = getnum;
    sort_num = sortnum;
    print_num = printnum;
    search_num = searchnum;

    (*get_num)(int *, int *);
    (*sort_num)(int, int);
    (*print_num)(int, int);
    (*search_num)(int, int);
}
</code></pre>