hi,
int fun(int(*)())
{
.......
.......
......
}
int main()
{
.......
......
.......
fun(main);
........
........
}
my question is that how can we use "main" (only name without parenthesis) as the pointer to a function ? because
main() is a function. I am not getting it how is it true ?
Secondly,
Can anyone please explain what exactly "preprocessor" and "preprocessor dirctives" mean ? I know directives are like #if...#elif...#endif etc... but what exactly these 2 terms mean ? please throw some light.
thanks in advance.