Output??
#include<stdio.h>

void fun(int x)
{

  if(x > 0)

  {

     fun(--x);

     printf("%d\t", x);

     fun(--x);

  }
}
 

int main()
{

  int a = 4;

  fun(a);

  getchar();

  return 0;
}

Posted on by