PHP Functions What will be the output of the following PHP code?function calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42); 0 84 42 Error 0 84 42 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love all country"); I love all country I Love All Country I love all Country i love all Country I love all country I Love All Country I love all Country i love all Country ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Default Function Inbuilt Function Magic Function User Defined Function Default Function Inbuilt Function Magic Function User Defined Function ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;return $total; }$result = calc(42, 0);echo $result; 0 84 Error 42 0 84 Error 42 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($m){if ($m < 0)echo "less than 0";if ($ >= 0)echo "Not True";}mine(0); Less Than 0 Not True No Output None of the Mentioned Less Than 0 Not True No Output None of the Mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} GREETING Welcome to Narnia ERROR greeting GREETING Welcome to Narnia ERROR greeting ANSWER DOWNLOAD EXAMIANS APP