Consider the code fragment written in C below:

void f(int x)

{

     if(x<=3)

     return;

     else

     {

         f(x/3);

         printf("%d", x%3);

      }

}

What does f(48) prints?

1
012
2
210
3
000
4
111

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation