adplus-dvertising
frame-decoration

Question

What will be the output of the following PHP code ?
<?php
for ($count = 1; $count < 20; $count++);
    print $count;
?>

a.

20

b.

19

c.

12345678910….19

d.

12345678910….1920

Posted under PHP

Answer: (a).20

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of the following PHP code ?