PrepAway - Latest Free Exam Questions & Answers

What is the output of the following code?

What is the output of the following code? $a = 3; switch ($a) { case 1: echo ‘one’; break;
case 2: echo ‘two’; break; default: echo ‘four’; break; case 3: echo ‘three’; break; }

PrepAway - Latest Free Exam Questions & Answers

A.
three

B.
four

C.
two

D.
one

Explanation:


Leave a Reply

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