Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 511 Bytes

0014.md

File metadata and controls

23 lines (20 loc) · 511 Bytes

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