Thursday, April 9, 2009

What is output of following recusive main function call ?

main()
{
static int s=5;
s--;
printf("%d",s);
(s>3)?main():0;
}

Output: 43

No comments: