1 votes 1 votes Ajit J asked Jan 10, 2019 Ajit J 540 views answer comment Share Follow See all 9 Comments See all 9 9 Comments reply Shaik Masthan commented Jan 11, 2019 reply Follow Share 92? 0 votes 0 votes Ajit J commented Jan 11, 2019 reply Follow Share Bro the answer given is 100 0 votes 0 votes Ajit J commented Jan 11, 2019 reply Follow Share Kindly share your approach 0 votes 0 votes raahul commented Jan 11, 2019 reply Follow Share Values printed will be 23+20+17+14+11+8+5+2=100 I think. 0 votes 0 votes Kunal Kadian commented Jan 11, 2019 reply Follow Share Yes ans is 100 and this question is a duplicate. 0 votes 0 votes Ajit J commented Jan 11, 2019 reply Follow Share raahul Yes bro. What is your approach? 0 votes 0 votes raahul commented Jan 11, 2019 reply Follow Share See, working of for() function will be like first going to initialization ,then it goes to checking condition and the goes inside the loop. Then again it goes to third condition and then checks again and goes to inside the for loop. Now,when fun() is called at time of initialization it return 25 and decrements to 24. then in checking condition it returns 24 decrements to 23, then it prints 23 and decrements to 22. Like this it will work until the condition is satisfied. 0 votes 0 votes Bhupendra commented Jan 11, 2019 i reshown by Bhupendra Jan 11, 2019 reply Follow Share Still answer we get is not 100. It has to skip the third condition to get 100. 0 votes 0 votes Ajit J commented Jan 11, 2019 reply Follow Share Thanks man 0 votes 0 votes Please log in or register to add a comment.