Functions – Find Output of Program

6. What will be the output of the program?

Screenshot 2

A. 4, 4
B. 3, 3
C. 6, 6
D. 12, 12

Correct Answer: C. 6, 6

7. What will be the output of the program?

Screenshot 3

A. AB
B. BC
C. CD
D. No output

Correct Answer: B. BC

8. What will be the output of the program?

Screenshot 4

A. 9
B. 10
C. 11
D. 8

Correct Answer: A. 9

9. What will be the output of the program?

Screenshot 6

A. Print 10
B. Print 20
C. Print 1
D. Compile error

Correct Answer: D. Compile error

10. What will be the output of the program?

Screenshot 7

A. 6
B. 1
C. 0
D. -1

Correct Answer: B. 1

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?