Vidyalelo
PHP · Q44

Control Structures(Loop In PHP)

Programming · PHP · question 44

Q44

What will be the output of the following PHP code ?

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

Answer: Option B

Solution

Answer: Option B
Solution:
The do while loop executes atleast once as the condition is in the while loop.