<<< Previous question <<< Question ID#0014.md >>> Next question >>>
Mark works as a Web Application Developer for Blue Solutions Inc. He writes the following code:
$x = 25;
while($x < 10) {
$x--;
}
print ($x);
What will be the output when Mark tries to compile and execute the code?
- A) 25
- B) 0
- C) The script will throw an error message.
- D) 10
Answer
Answer: A