1. Assunming, integer is 2 byte, What will be the output of the program?

Screenshot 1

A. ffff
B. 0fff
C. 0000
D. fff0


Correct Answer: B. 0fff

2. If an unsigned int is 2 bytes wide then, What will be the output of the program ?

Screenshot 2

A. ffff
B. 0000
C. ffdf
D. ddfd


Correct Answer: C. ffdf

3. Assuming a integer 2-bytes, What will be the output of the program?

Screenshot 3

A. ffff
B. fff8
C. 0
D. -1


Correct Answer: B. fff8

4. If an unsigned int is 2 bytes wide then, What will be the output of the program ?

Screenshot 5

A. ffff
B. 0000
C. 00ff
D. ddfd


Correct Answer: A. ffff

5. What will be the output of the program?

Screenshot 4

A. 0
B. 256
C. 100
D. 80


Correct Answer: B. 256

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 *

5 × 5 =