I was trying to create an array of function pointers with the following piece of code:
#include <stdio.h>
int functu(int ,int);
int ghonchu(int,int);
int main()
{
printf("Hello, World!\n");
int (*acrib[10]) (int,int);
acrib[0] = (*functu)(int,int);
return 0;
}
On compiling this program, an error is thrown saying "too few arguments to function 'functu'".
What can be the cause of it? Am I missing anything trivial?