Vidyalelo
PHP · Q4

Functions

Programming · PHP · question 4

Q4

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.