Consider the following function.

void myfun (int n)

{

if (n > 0)

myfun (n – 2);

printf(“%d”, n);

}

what is printed by the call myfun (4) ?

1
0              2
2
0              2              4
3
2              4
4
4              2              0

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation