16. What will be the output of the program?

Screenshot 1

A. 100
B. 10
C. 1
D. 0


Correct Answer: A. 100

17. If int is 2 bytes wide. What will be the output of the program?

Screenshot 2

A. ab
B. cd
C. ef
D. gh


Correct Answer: B. cd

18. What will be the output of the program?

Screenshot 3

A. Infinite loop
B. Hi
C. Hello Hi
D. Error


Correct Answer: C. Hello Hi

19. What will be the output of the program?

Screenshot 4

A. 5
B. 4
C. Error
D. Garbage value


Correct Answer: A. 5

20. What will be the output of the program?

Screenshot 5

A. 5.000000
B. 3.000000
C. Garbage val
D. 4.000000


Correct Answer: A. 5.000000

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 *

    1 + nine =