Pointers – Find Output of Program

21. What will be the output of the program ?

Screenshot 7

A. 7, 9, 11, 13, 15
B. 2, 15, 6, 8, 10
C. 2 4 6 8 10
D. 3, 1, -1, -3, -5

Correct Answer: B. 2, 15, 6, 8, 10

22. If the size of integer is 4bytes, What will be the output of the program?

Screenshot 8

A. 10, 2, 4
B. 20, 4, 4
C. 16, 2, 2
D. 20, 2, 2

Correct Answer: B. 20, 4, 4

Leave A Comment?

five + 12 =