Q. What will be the output of the following PHP code ?

Code:
<?php
$num = 10 + ++15;
echo $num; 
?>
  • (A) 10
  • (B) 15
  • (C) Nothing
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (D) Error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
212671
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Babita
Publisher
πŸ“ˆ
89%
Success Rate