0 votes 0 votes closed as a duplicate of: GATE CSE 1998 | Question: 2.12 What value would the following function return for the input x = 95 ? function fun (x:integer): integer; Begin If x > 100 then fun = x - 10 Else fun = fun(fun(x + 11)) End; (A)89 (C) 91 (B) 90 (D)92 santosh0maurya asked Dec 7, 2023 • closed Dec 7, 2023 by Hira Thakur santosh0maurya 189 views comment Share Follow See 1 comment See all 1 1 comment reply abhishek_2901 commented Dec 8, 2023 reply Follow Share let f()= fun() if x=95 f(95) = f(f(106)) as x<100 f(95) = f(97) similiarly f(97)=f(98) . . . f(100) = f(101) now 101>100 f(101) = 101-10 = 91 so correct ans is C) 91 0 votes 0 votes Please log in or register to add a comment.