Input / Output – Find Output of Program

6. What will be the output of the program?

Screenshot 6

A. A
B. B
C. C
D. D

Correct Answer: B. B

7. What will be the output of the program?

What will be the output of the program

A. This is GkFeed
B. This is
C. Infinite loop
D. Error

Correct Answer: C. Infinite loop

8. What will be the output of the program?

Screenshot 8

A. 21
B. 23
C. Error
D. No output

Correct Answer: B. 23

9. What will be the output of the program?

Screenshot 9

A. Print the contents of file “myfile.c”
B. Print the contents of file “myfile.c” upto NULL character
C. Infinite loop
D. Error in program

Correct Answer: C. Infinite loop

10. What will be the output of the program?

Screenshot 10

A. %%%%%
B. %%
C. No output
D. Error

Correct Answer: B. %%

Leave A Comment?

10 − six =