MCQOPTIONS
Saved Bookmarks
| 1. |
What is the value of $a and $b after the function call?<?phpfunction doSomething(&$argument) { $Result = $argument; $argument += 1; return $Result; }$n = 5;$m = doSomething($n);echo "n = " . $n . " and m = " . $m;?> |
| A. | n = 6 |
| B. | n = 6 and m = 5 |
| C. | m = 6 |
| D. | Error |
| E. | None of these |
| Answer» C. m = 6 | |