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

Code:
<?php
$p = 150;
if ($p > 25)
    printf("Jitendra");
else if ($p > 35)
    printf("Jitu");
else if($p > 45)
    printf("Jeetu");
?>
  • (A) Jitendra
  • (B) Jitu
  • (C) Jeetu
  • (D) All of above
💬 Discuss
✅ Correct Answer: (A) Jitendra

You must be Logged in to update hint/solution

💬 Discussion


📊 Question Analytics

👁️
217
Total Visits
📽️
4 y ago
Published
🎖️
Jitendra Singh
Publisher
📈
96%
Success Rate