What is the size of the stack required when the following C-pseudocode is run on A(5)?

A(n)

{

     if(n>0)

     {

           printf("%d", n-1);

           A(n-1);

      }

}

1
6
2
5
3
4
4
3

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation