/* code for computing nth catalan number */ #include long int factorial(int x) //long int for more than 10 factorial { int i; long int fac; //fac stores x factorial fac=x; for(i=1;i