Computer Science, asked by snaturato, 6 months ago

In this program written in PHP programming language, what output will compiler print?

Program Input:
<?php
$a = "5";
$b = 5;

echo $a + $b;
?>
‐---------------------------------------------

Program Output:
?​

Answers

Answered by ıtʑFᴇᴇʟɓᴇãᴛ
38

\mathtt{\huge{\underline{\red{Question\:?}}}}

In this program written in PHP programming language, what output will compiler print?

Program Input:

<?php

$a = "5";

$b = 5;

echo $a + $b;

?>

‐---------------------------------------------

Program Output:

?

\mathtt{\huge{\underline{\green{AnSweR:-}}}}

Program Input:

<?php

$a = "5";

$b = 5;

echo $a + $b;

?>

‐---------------------------------------------

Program Output :-

Error

Error

a+b

➡ If you need to output something onto the screen you’ll need to use echo or print_r.

____________________________________

Answered by singhmohit9793700
3

Question?

In this program written in PHP programming language, what output will compiler print?

Program Input:

<?php

$a = "5";

$b = 5;

echo a +a+b;

?>

‐---------------------------------------------

Program Output:

?

AnSweR:−

Program Input:

<?php

$a = "5";

$b = 5;

echo a +a+b;

?>

‐---------------------------------------------

Program Output :-

Error

Error

a+b

➡ If you need to output something onto the screen you’ll need to use echo or print_r.

____________________________________

Similar questions