6. What will be the output of the program?

Screenshot 1

A. 4 1 8 1
B. 4 >> 1 8 >> 1
C. 2 >> 4 Garbage value >> Garbage value
D. 2 4


Correct Answer: C. 2 >> 4 Garbage value >> Garbage value

7. What will be the output of the program?

Screenshot 2

A. 12400
B. 12480
C. 12500
D. 12556


Correct Answer: B. 12480

8. What will be the output of the program?

Screenshot 3

A. 1
B. 0
C. -1
D. 2


Correct Answer: B. 0

9. What will be the output of the program ?

Screenshot 4

A. 0, 0, 0, 0, 0
B. 0, 32, 32, 32, 32
C. 32, 32, 32, 32, 0
D. 32, 32, 32, 32, 32


Correct Answer: C. 32, 32, 32, 32, 0

10. What will be the output of the program?

Screenshot 5

Screenshot 6


Correct Answer: Option B

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 *

six − 3 =