Discussion Forum : Php Control Structures (loop)
Question - What will be the output of the following PHP code ?const $b = 1;switch($b) {case 1:print "hi";break;case 1:print "hello";break;default:print "hi1";}
Options:
A .  hihello
B .  hello
C .  error
D .  hi
Answer: Option C

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

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