PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 4;$c = fun(10,4);function fun($a,$b) {$b = 3;return $a - $b + $b - $a;}echo $a;echo $b;echo $c; 410 104 4100 1400 410 104 4100 1400 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "Hello World" Error Nothing Hello world in italics Hello world Error Nothing Hello world in italics Hello world ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 1;if ($i++ && ($i == 1))printf("Yesn$i");elseprintf("Non$i"); Yes 1 Yes 2 No 1 No 2 Yes 1 Yes 2 No 1 No 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");echo "My car is a {$cars[0]}"; Error My car is a Volvo My car is a BMW My car is a Toyota Error My car is a Volvo My car is a BMW My car is a Toyota ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3;$z = 1;echo "$x = $x + $y + $z"; Error 8 4 = 4 + 3 + 1 8 = 4 + 3 +1 Error 8 4 = 4 + 3 + 1 8 = 4 + 3 +1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print("this"."was"."a"."bad"."idea"); error thiswasabadidea nothing this was a bad idea error thiswasabadidea nothing this was a bad idea ANSWER DOWNLOAD EXAMIANS APP