What will be the output of the following PHP code ?
<?php $i = 1; if ($i++ && ($i == 1)) printf("Yesn$i"); else printf("Non$i"); ?>
A.No 2
B.Yes 1
C.Yes 2
D.No 1
Answers
Answered by
0
hey mate........the answer is
B.Yes 1
B.Yes 1
Answered by
0
Option B is the correct answer.
Similar questions
English,
7 months ago
Computer Science,
7 months ago
Science,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
History,
1 year ago