Vidyalelo
PHP · Q70

Control Structures(Loop In PHP)

Programming · PHP · question 70

Q70

What will be the output of the following PHP code ?

A.
20
Answer
B.
19
C.
12345678910….19
D.
12345678910….1920

Answer: Option A

Solution

Answer: Option A
Solution:
The for loop has no body,it just runs till condition is satisfied.