The centralized counselling for M.tech/M.plan based on GATE-2014 will start from 3 rd week of April-2014 .Website is currently offline . www.ccmt.in
click here to download the advertisement.
click here to download the advertisement.
#include<stdio.h>
int ack(int m,int n)
{ if(m==0)
return n+1; else if (n==0)
return ack(m-1,1); else
return ack(m-1,ack(m,n-1));
}
void main()
{ int a=2,b=6;
int d=ack(a,b);
printf("%d",d);
}
OUTPUT:15