πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$num = 5;
if ($num = $num&0)
    print $num ;
else
    print "Else statement executed...";
?>
  • (A) True
  • (B) Error
  • (C) 5
  • (D) Else statement executed...
πŸ’¬ Discuss
βœ… Correct Answer: (D) Else statement executed...

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
169
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Jitendra Singh
Publisher
πŸ“ˆ
90%
Success Rate