Programming Languages PHP Objective
Mar 15, 2013

Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?

Choose the correct answer:
A) When the parameter is Boolean
B) When the function is being declared as a member of a class
C) When the parameter is being declared as passed by reference
D) When the function contains only one parameter
Detailed Explanation

Option C is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback