578 views
3 votes
3 votes

Question no 11.

2 Answers

Best answer
0 votes
0 votes
second recursion call never meet the end case (eg:- if N=1 then recurse(1/2+1)=recurse(1) it will never become 0)

So it will never return any value.

option A no Base case
selected by
0 votes
0 votes
In my opinion option A is correct since it is an assignment operation. If it would have been == then there was no error

Related questions

2 votes
2 votes
1 answer
2
Rustam Ali asked Sep 2, 2016
893 views
Avoid the any syntax error ,if there is:What will be the output of the following code ? #inlcude<stdio.h void myfun(int i) { if(i>0) { myfun(i-1); printf("%d",i); myfun(i...
1 votes
1 votes
5 answers
3