What will be the output of the following PHP code? [code] <?php $i = 1; if ($i++ &#038;&#038; ($i == 1)) printf("Yes\n$i"); else printf(

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

Tìm kiếm

Back
Top