πŸ“Š PHP
Q. what is the output of below program?
Code:
<?php
function hello(){
    echo "hello";
    hello();
}

hello();
?>
  • (A) hello
  • (B) hello hello
  • (C) hello is printed infinite times
  • (D) Compilation Error
πŸ’¬ Discuss
βœ… Correct Answer: (C) hello is printed infinite times

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
87994
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
81%
Success Rate