πŸ“Š PHP
Q. what is the output of below program?
Code:
<?php
$a = 0;

if($a = 0)
{
  echo "Sun";   
}
else
{
  echo "Moon";
}
?>
  • (A) Moon
  • (B) Sun
  • (C) Error
  • (D) none of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) Moon

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
159
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
97%
Success Rate