Used the sizeof of function, which gives 1; why?
I want to know the size of the entire function. How to achive it?
#include <stdio.h>
void (*p)(int);
void test_func(int data)
{
printf("%d\n",data);
}
main(void)
{
p = test_func;
(*p)(4);
printf("%d",sizeof(test_func));
}