PrepAway - Latest Free Exam Questions & Answers

What is the output of the following code?

What is the output of the following code? function increment ($val) { ++$val; } $val = 1;
increment ($val); echo $val;

PrepAway - Latest Free Exam Questions & Answers

A.
1


Leave a Reply

Your email address will not be published. Required fields are marked *