Posted by: Pdfprep
Post Date: November 17, 2020
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;
A . one
B . two
C . three
D . four
Answer: C
Leave a Reply