Basic PHP What will be the output of the following PHP code?$num = 10;echo 'What is her age? \n She is $num years old'; What is her age? n She is $num years old What is her age?n She is 10 years old What is her age? She is 10 years old What is her age? She is $num years old What is her age? n She is $num years old What is her age?n She is 10 years old What is her age? She is 10 years old What is her age? She is $num years old ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Only 2 2, 3 and 4 1, 3 and 4 Both 2 and 4 Only 2 2, 3 and 4 1, 3 and 4 Both 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following php statement/statements will store 111 in variable num?1. int $num = 111;2. int mum = 111;3. $num = 111;4. 111 = $num; Only 1 Both 1 and 2 All of the mentioned Only 3 Only 1 Both 1 and 2 All of the mentioned Only 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; 12 Error 1+2 3 12 Error 1+2 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Variables always start with a ........ in PHP Pond-sign Dollar-sign Yen-sign Euro-sign Pond-sign Dollar-sign Yen-sign Euro-sign ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison It returns True only if they are both of the same type and value It converts them to a common compatible data type and then compares the resulting values It converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison It returns True only if they are both of the same type and value It converts them to a common compatible data type and then compares the resulting values ANSWER DOWNLOAD EXAMIANS APP