1 1 vote closed with the note: :) can someone verify the answer?my ans is 15 but ans given is 13 Programming in C programming-in-c programming + – raviyogi 523 views comment Share Follow Print See 1 comment 1 1 comment reply Neeraj Mehta commented Jan 29, 2018 reply Follow flag 13 is the correct answer. there will be no further for f(n) if n<=1 0 0 replyShare Please log in or register to add a comment.
1 1 vote 13 times recursion will be called; rec(1) will not call any rec(); It returns after checking if condition. Vishnu vardhan 2 answered Jan 29, 2018 Vishnu vardhan 2 comment Share Follow 0 reply Please log in or register to add a comment.