Functions – Find Output of Program

11. What will be the output of the program?

What will be the output of the program

A.  prints “GkFeed, C-Program” infinitely
B.  prints “C-Program” infinitely
C.  prints “C-Program, GkFeed” infinitely
D.  Error: main() should not inside else statement

Correct Answer: B.  prints “C-Program” infinitely

12. What will be the output of the program?

Screenshot 9

A. 12 12
B. No error, No output
C. Error: Compile error
D. None of above

Correct Answer: A. 12 12

13. What will be the output of the program?

Screenshot 1

A. 3, 4, 4, 3
B. 4, 3, 4, 3
C. 3, 3, 4, 4
D. 3, 4, 3, 4

Correct Answer: B. 4, 3, 4, 3

14. What will be the output of the program?

Screenshot 2

A. k=35
B. k=36
C. k=37
D. k=38

Correct Answer: D. k=38

15. What will be the output of the program?

Screenshot 3

A. 12, 12
B. 7, 7
C. 7, 12
D. 12, 7

Correct Answer: A. 12, 12

Leave A Comment?

4 × 2 =