Q121
What will be the output of the following PHP code ?
A.
16
AnswerB.
06
C.
15
D.
05
Answer: Option A
Solution
Answer: Option A
Solution:
1&&0||1 is evaluated to 1 and the a is also pre incremented to 6.