I have a function as below:
int fun()
{
puts("hello");
return 10;
}
int main()
{
printf("%d",sizeof(fun()));
return 0;
}
I want to ask why when I call sizeof(fun())
it just return size of int
. and why puts
in func() function don't show out in screen.