0 0 votes I am getting answer 13 but answer given is 17 ! Programming in C made-easy-test-series data-structures programming-in-c recursion + – Prakhar Shukla 1 997 views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply Anu007 commented Dec 8, 2017 reply Follow flag 17 is correct . i think you not take call (1) here two more call happen for call(1) i.e. call(-1) and call(-2) 0 0 replyShare Prakhar Shukla 1 commented Dec 8, 2017 reply Follow flag ok got it. I can't believe i considered both function calls inside "if{...}" lol. 0 0 replyShare Please log in or register to add a comment.
1 1 vote Call function will be invoked for 17 times. Peeyush Pandey answered Oct 31, 2018 Peeyush Pandey comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes 17 is right. abhishekmehta4u answered Mar 8, 2019 abhishekmehta4u comment Share Follow 0 reply Please log in or register to add a comment.