πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$num = 10;
$num = ($num + 15)++; 
echo $num; 
?>
  • (A) 10
  • (B) 15
  • (C) Error
  • (D) 16
πŸ’¬ Discuss
βœ… Correct Answer: (C) Error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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