πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$k = -1;
while (++$k && --$k)
{   
    print $k;
}
?>
  • (A) Nothing
  • (B) Error
  • (C) -1
  • (D) 0
πŸ’¬ Discuss
βœ… Correct Answer: (A) Nothing

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
22510
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
89%
Success Rate