ExamVeda
Login
Home
Operators and Expressions in php
?

What will be the output of the following PHP code ?
<?php
$var1 = 3;
print ++$var++;
?>

Answer & Solution
Correct Answer: Option D
First preincrement is done and the result is a number,thus post increment cannot be performed on it.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.