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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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