Consider following C function.

int compute(int n)

{

    static int temp = 0;

     if(n!=0)

     {

          temp++;

         compute(n/10);

    }

    return temp;

}

What will be the output of compute(1490)?

1
1490
2
14
3
1
4
4

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation