200-710 practice question 1 of 30

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; }

Full set: 232 questions
Answer options
A: one
B: two
C: three Correct answer
D: four
Correct Answer:
C. three
Scroll to Top