hi all
defining functions inside of main like this
it will be only local to main right?Code:main()
{
int function()
{
int x=5;
return x;
}
printf("%d %d \n",function(),test());
}
and my question is :
is there is any thing wrong with that code i mean
can it cause any kind of problesm or Undefined behaviour?
thanks in advance