495 views
0 votes
0 votes
int A(int m,int n)
{
    if(!m)
    return n+1;
    if(!n)
    return A(m-1,1);
    return A(m-1,A(m,n-1));
}
int main()
{
    printf("A(1,2)=%d",A(1,2));
    
}

what will be the output and how?

3 Answers

Related questions

0 votes
0 votes
3 answers
2
Nitesh Choudhary asked Apr 16, 2017
5,892 views
4. Which of the following is not a valid variable name declaration and why?a) float PI = 3.14;b) double PI = 3.14;c) int PI = 3.14;d) #define PI 3.14
2 votes
2 votes
1 answer
3
anonymous asked Apr 16, 2017
3,214 views
4. Which of the following is not a valid variable name declaration and why?a) float PI = 3.14;b) double PI = 3.14;c) int PI = 3.14;d) #define PI 3.14
1 votes
1 votes
1 answer
4
Naveen Kumar 3 asked Jul 29, 2017
697 views
main ( ){int a = 2, b, c;a* = b = c = 4;a = b = c;printf (“%d”, a);a = = (b = c);printf (“%d”, a);}What will be the output?Not able to understand !!