Trần Thu Hằng
Member
What will be the output of the following PHP code?
A. No 2
B. Yes 1
C. Yes 2
D. No 1
Code:
<?php
$i = 1;
if ($i++ && ($i == 1))
printf("Yes\n$i");
else
printf("No\n$i");
?>
B. Yes 1
C. Yes 2
D. No 1