#include<stdio.h>
struct file{
int a;
int b;
int (*fp) (int ,int);
};
static int sum(int a, int b)
{
return(a+b);
}
void main()
{
struct file var;
int sum1=0;
var.fp=∑
sum1=fp(2,4);
printf("\nsum is %d ",sum1);
}
how to call the function..?? i am getting an error called as undefined reference to fp..???