MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following PHP code ?<?php$opt = "1";switch ($opt){case 1: print "Hello ";case 2: print "Interview ";default: print "Mania ";}?> |
| A. | Hello Interview Mania |
| B. | Interview |
| C. | Mania |
| D. | Hello |
| E. | None of these |
| Answer» B. Interview | |