2 votes 2 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$ Programming in C isrodec2017 + – gatecse asked Dec 17, 2017 • reopened Jul 11, 2022 by Arjun gatecse 2.1k views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply sachin! commented Dec 20, 2017 reply Follow Share option c 91 0 votes 0 votes pawan kumarln commented Feb 12, 2018 reply Follow Share https://gateoverflow.in/1684/gate1998_2-12 0 votes 0 votes Please log in or register to add a comment.
Best answer 2 votes 2 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 See all 0 reply Please log in or register to add a comment.