Vidyalelo
PHP · Q50

Control Structures(Loop In PHP)

Programming · PHP · question 50

Q50

What will be the output of the following PHP code ?

A.
hello
B.
infinite loop
Answer
C.
hihello
D.
error

Answer: Option B

Solution

Answer: Option B
Solution:
While condition always gives 1.