Please wait...
THANKU FOR BEING A PART OF OUR JOURNEY TO BRING "REVOLUTION IN EDUCATION"
We Genuinely APPRECIATE your PATIENCE

62
M: +2.00/-0.00

Consider the following two functions.
void fun1 (int n) {
if (n == 0 ) return;
printf (“%d” , n);
fun2 (n - 2);
printf (“%d” , n);
}
void fun2 (int n) {
if (n = = 0) return ;
printf (“%d” , n);
fun1(++n) ;
printf (“%d” , n);
}
The output printed when fun1(5) is called is

[GATE CS 2017 Set 1]
A
B
C
D