ExamVeda
Login
Home
Operators and Expressions in php
?

What will be the output of the following PHP code ?
<?php
$a  =  '4' ;
print  +  + $a;
?>

Answer & Solution
Correct Answer: Option C
The character is type casted to integer before multiplying.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.