option B) 95 ?

Dark Mode

0 votes

**Answer should be 95. **Since recursively Class is calling the method CBSE and when first time recursion fails the value of x was 100, at this time there will be 5 recursion STACK corresponding to x values (60,70,80,90,100). Now each recursion stack get removed by decrementing the value of x by 1 each time. Hence finally when all recursive stack over it has decremented total of 5. that is 100-5 = 95.