Computer Science, asked by Yashwardhan6585, 1 year ago

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 cutieeee10101
0
hey mate........the answer is

B.Yes 1
Answered by ajmal64
0
Option B is the correct answer.
Similar questions