3 3 votes Consider the function int fun(x: integer) { If x>100 then fun=x-10; else fun=fun(fun(x+11)); } For the input $x=95$, the function will return $89$ $90$ $91$ $92$ Algorithms isrodec2017 programming-in-c recursion + – gatecse 2.8k views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply sachin! commented Dec 20, 2017 reply Follow flag option c 91 0 0 replyShare pawan kumarln commented Feb 12, 2018 reply Follow flag https://gateoverflow.in/1684/gate1998_2-12 0 0 replyShare Please log in or register to add a comment.
Best answer 3 3 votes value return by fun(95)=fun(fun(106))=fun(96)=fun(fun(107))=fun(97)=fun(fun(108))=fun(98)=fun(fun(109))=fun(99)=fun(fun(110))=fun(100)=fun(fun(111))=fun(101)=91. Regina Phalange answered Dec 21, 2017 • selected Dec 21, 2017 by Anu007 Regina Phalange comment Share Follow 0 reply Please log in or register to add a comment.