0 votes 0 votes shivanisrivarshini asked Feb 2, 2016 shivanisrivarshini 314 views answer comment Share Follow See 1 comment See all 1 1 comment reply Utk commented Feb 2, 2016 reply Follow Share Answer is 0. You can easily verify these questions by running them on any ide, like codechef.com/ide . 0 votes 0 votes Please log in or register to add a comment.
Best answer 1 votes 1 votes Function add all digits of parameter and then return f(sum of digits) If sum of digit is 9 then it will return 1 else 0. after 1st function call Sum = 58then F(58 ) will be called..next is f(13)next is f(4) Finally 0 returned . Digvijay Pandey answered Feb 2, 2016 • selected Feb 4, 2016 by Himanshu1 Digvijay Pandey comment Share Follow See 1 comment See all 1 1 comment reply Desert_Warrior commented Apr 11, 2016 reply Follow Share It returns 0. you can hand run it. below link may help. http://code.geeksforgeeks.org/eR8GE2 0 votes 0 votes Please log in or register to add a comment.