As we know that extern keyword is used for declaring variables, functions in C..
like
extern int a;
extern int temp(int,int)
but what is the meaning of using the word extern in front of function definition in C?
like
extern int temp(int a,int b)
{
printf("Hello");
}
we also know that extern keyword is associated with the declaration of variable ,not definition. so how can extern keyword be used in front of function definition as memory for the function is allocated when we define a function... I hope , you got my question..
Thanks in advance..