Functions – Find Output of Program

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

Warning: Undefined variable $in_same_cat in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Warning: Undefined variable $excluded_categories in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Leave A Comment?