Q40
What will be the output of the following PHP code ?
A.
1hello
B.
1hi
AnswerC.
1hi1
D.
error
Answer: Option B
Solution
Answer: Option B
Solution:
Print returns 1,thus it gives case 1.
Control Structures(Loop In PHP)
Programming · PHP · question 40
Q40
Answer: Option B