GATE | GATE CS Mock 2018 | Question 39ReadDiscussCoursesPracticeImprove Article ImproveSave Article SaveLike Article LikeConsider the following C-program :int fun(){ static int num = 16; return num--;} int main(){ for(fun(); fun(); fun()) printf(\"%d \", fun()); return 0;}What is output of above program?(A)Infinite loop (B)13 10 7 4 1 (C)15 12 8 5 2 (D)14 11 8 5 2 Answer: (D)Explanation:Option (D) is correct. Refer : https://www.geeksforgeeks.org/c-storage-classes-and-type-qualifiers-question-9/ Quiz of this QuestionPlease comment below if you find anything wrong in the above postLast Updated : 10 Jan, 2018Like Article Save Article Please Login to comment...