Functions – Yes / No Questions

1. Functions cannot return a floating point number

A. Yes
B. No

Correct Answer: B. No

2. Every function must return a value

A. Yes
B. No

Correct Answer: B. No

3. If a function contains two return statements successively, the compiler will generate warnings. Yes/No ?

A. Yes
B. No

Correct Answer: A. Yes

4. Maximum number of arguments that a function can take is 12

A. Yes
B. No

Correct Answer: B. No

5. Will the following functions work?

Screenshot 4

A. Yes
B. No

Correct Answer: A. Yes

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?