Vidyalelo
PHP · Q62

Control Structures(Loop In PHP)

Programming · PHP · question 62

Q62

What will be the output of the following PHP code ?

A.
**********
B.
*********
Answer
C.
***********
D.
infinite loop

Answer: Option B

Solution

Answer: Option B
Solution:
Loop runs from 1 to 9 i.e 9 times.