0 votes 0 votes thor asked Jan 22, 2017 thor 389 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply Rahul Jain25 commented Jan 22, 2017 reply Follow Share B will be the answer. 0 votes 0 votes thor commented Jan 22, 2017 reply Follow Share can you solve using recusion tree method 0 votes 0 votes Rahul Jain25 commented Jan 22, 2017 reply Follow Share @thor it is very easy it like a function calling itself and since it static variable it is initialized only once and at last predecrement makes value 0 which means that if block is not executed. But the rest four will be executed and static variable value is made 0 which will be printed 4 times. 1 votes 1 votes Please log in or register to add a comment.