πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$p = 25;
$q = 26;
if ($p < ++$p || $q < ++$q)
    print "if statement executed...";
else
    print "else statement executed...";
?>
  • (A) else statement executed...
  • (B) Error
  • (C) if statement executed...
  • (D) Nothing
πŸ’¬ Discuss
βœ… Correct Answer: (A) else statement executed...

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
194
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Jitendra Singh
Publisher
πŸ“ˆ
86%
Success Rate