+ 1
how many times the print statement will get executed for c=6
pass(c) { if(c!=0) { c--; pass(c); pass(c++); printf("output"); } else return 0; }
3 ответов
+ 1
Is it 28.
0
Is it 7 times.
0
No
pass(c) { if(c!=0) { c--; pass(c); pass(c++); printf("output"); } else return 0; }