What will be the output of the following PHP code ?
<?php $a = 1; $b = 1; $d = 1; print ++$a + ++$a+$a++; print $a++ + ++$b; print ++$d + $d++ + $a++; ?>
A.869
B.742
C.368
D.error
Answers
Answered by
1
Option A is the correct answer.
Answered by
1
869 is the answer
PLEASE MARK AS BRAINLIEST AND PLEASE FOLLOW ME FOR FURTHER HELP ALWAYS.
PLEASE MARK AS BRAINLIEST AND PLEASE FOLLOW ME FOR FURTHER HELP ALWAYS.
Similar questions
Math,
7 months ago
Science,
7 months ago
Science,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Chemistry,
1 year ago
English,
1 year ago