Declarations and Initializations – Find Output of Program

6. What will be the output of the program?

What will be the output of the program

A. 20
B. 40
C. Error
D. No Output

Correct Answer: A. 20

7. What is the output of the program

Screenshot 1

A. 0
B. 1
C. Error
D. None of these

Correct Answer: B. 1

8. What is the output of the program

Screenshot 1

A. 3
B. 3.14
C. 0
D. 4
E. Compile Error

Correct Answer: E. Compile Error

9. What is the output of the program

Screenshot 2

A. Garbage Values
B. 2, 3, 3
C. 3, 2, 2
D. 0, 0, 0

Correct Answer: D. 0, 0, 0

10. What is the output of the program?

Screenshot 3

A. 3, 2, 515
B. 515, 2, 3
C. 3, 2, 5
D. None of these

Correct Answer: A. 3, 2, 515

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?