πŸ“Š PHP
Q. what is the output of below program?
Code:
<?php
function func($a = 50) {

    echo "a is : $a";
}

func();
?>
  • (A) a is :
  • (B) a is: 50
  • (C) a is : 0
  • (D) Error: Argument missing
πŸ’¬ Discuss
βœ… Correct Answer: (B) a is: 50

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
95650
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
84%
Success Rate