Possible Duplicate:
Why is the size of a function in C always 1 byte?
Consider the below code snippet in C
:
double fn()
{
return 1.1 ;
}
int main()
{
printf( "%d", sizeof( fn ) );
return 0;
}
The output is:
1
Why the sizeof() operator is outputting 1 byte?