Vidyalelo
PHP · Q48

Control Structures(Loop In PHP)

Programming · PHP · question 48

Q48

What will be the output of the following PHP code ?

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

Answer: Option A

Solution

Answer: Option A
Solution:
While accept does not accept anything other than a 0 or any other number as false and true.