11. What will be the output of the program?

Screenshot 7

A. 8, 10
B. 10, 2
C. 8, 1
D. Garbage values


Correct Answer: A. 8, 10

12. What will be the output of the program assuming that the array begins at location 1002 and the size of an integer is 4 bytes?

Screenshot 8

A. 448, 4, 4
B. 520, 2, 2
C. 1006, 2, 2
D. Error


Correct Answer: C. 1006, 2, 2

13. What will be the output of the program?

Screenshot 9

A. 2, 3
B. 2, 0
C. 2, Garbage value
D. 0, 0


Correct Answer: B. 2, 0

14. What will be the output of the program ?

Screenshot 10

A. No output
B. 30
C. 3
D. 300


Correct Answer: D. 300

15. What will be the output of the program?

What will be the output of the program

A. Error: in printf
B. Nothing will print
C. print “X” of GkFeed
D. print “7”


Correct Answer: C. print “X” of GkFeed

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *

nineteen − thirteen =