?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
$a = '4' ;
print + + $a;
?>
<?php
$a = '4' ;
print + + $a;
?>
Answer & Solution
Correct Answer:
Option
C
The character is type casted to integer before multiplying.
Join the Discussion
Login to post a comment or share your explanation.
Login