Q. What will be the output of the following PHP code ?

Code:
<?php
$str = "s";
if ($str) 
    print "Executed....";
else 
    print "Not Executed...";
?>
  • (A) Nothing
  • (B) Error
  • (C) Not Executed...
  • (D) Executed....
πŸ’¬ Discuss
βœ… Correct Answer: (D) Executed....

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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