PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;}$result = calc(42, 0);echo $result; 42 Error 0 84 42 Error 0 84 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function b() {echo "b is executed";}function a(){b();echo "a is executed";b();}a(); b is executeda is executedb is executed b is executedb is executedb is executed b is executeda is executed a is executed b is executeda is executedb is executed b is executedb is executedb is executed b is executeda is executed a is executed ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?define("GREETING","Hello you! How are you today?");echo constant("GREETING"); GREETING “GREETING”,”Hello you! How are you today?” GREETING, Hello you! How are you today? Hello you! How are you today? GREETING “GREETING”,”Hello you! How are you today?” GREETING, Hello you! How are you today? Hello you! How are you today? ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am bb';}echo 'I am a';}b();a(); I am bb I am a Error Error I am bI am a I am bb I am a Error Error I am bI am a ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... Both A & B None of above Objects Arrays Both A & B None of above Objects Arrays 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