1. What will be the output of the program in the 16-bit platform (Turbo C under DOS)?

Screenshot 2

A. Garbage value
B. 0 (Zero)
C. 1990
D. No output


Correct Answer: C. 1990

2. What will be the output of the program?

What will be the output of the program

A.  5, 2
B.  10, 4
C.  2, 5
D.  25, 4


Correct Answer: D.  25, 4

3. What will be the output of the program?

Screenshot 3

A. Hello
B. Hi Hello
C. No output
D. Infinite loop


Correct Answer: A. Hello

4. What will be the output of the program?

Screenshot 4

A. Print 5, 4, 3, 2, 1
B. Print 1, 2, 3, 4, 5
C. Print 5, 4, 3, 2, 1, 0
D. Infinite loop


Correct Answer: D. Infinite loop

5. What will be the output of the program?

Screenshot 1

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


Correct Answer: D. 0, 1, 2, 0

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 *

2 × 2 =