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"); No 1 No 2 Yes 2 Yes 1 No 1 No 2 Yes 2 Yes 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo $x-- != ++$x; 1 0 no output error 1 0 no output error 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 this was a bad idea nothing error thiswasabadidea this was a bad idea nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print ++$var++; 5 4 error 3 5 4 error 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{echo "$x";} Nothing 5 Error 0 Nothing 5 Error 0 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"; 8 = 4 + 3 +1 4 = 4 + 3 + 1 Error 8 8 = 4 + 3 +1 4 = 4 + 3 + 1 Error 8 ANSWER DOWNLOAD EXAMIANS APP