KodeGod.com

019. Technical interview question: Give the output of the following code

int main()
{
  static int var = 5;
  printf("%d",var--);
  if(var)
    main();
}