Hi,i hav executed the following c code...the inner printf executes first to print some garbage value...why dont the outer printf prints anything.....
I got only one garbage value ..y dont two garbage values...wt is the order of precedence in printf function and in nested printfs.
the c code is:
void main()
{
while(1)
{
if(printf("%d", printf("%d")))
break;
else
continue;
}
}
Thanks & Regards
I got only one garbage value ..y dont two garbage values...wt is the order of precedence in printf function and in nested printfs.
the c code is:
void main()
{
while(1)
{
if(printf("%d", printf("%d")))
break;
else
continue;
}
}
Thanks & Regards
Comment