MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following PHP code ?<?php$s = 2.2;switch($s){case 2.1: print "Option A"; break;case 2.2: print "Option B"; break;default: print "Option C";}?> |
| A. | Error |
| B. | Option A |
| C. | Option B |
| D. | Option C |
| E. | None of these |
| Answer» D. Option C | |