Vidyalelo
PHP · Q21

Functions

Programming · PHP · question 21

Q21

What will be the output of the following PHP code?

A.
Error
B.
0
C.
42
Answer
D.
84

Answer: Option C

Solution

Answer: Option C
Solution:
You can designate certain arguments as optional by placing them at the end of the list and assigning them a default value of nothing.