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

Code:
<?php
$total = "25 students";
$more = 10;
$total = $total + $more;
echo "$total";
?>
  • (A) Error
  • (B) 35 students
  • (C) 35
  • (D) 25 students
πŸ’¬ Discuss
βœ… Correct Answer: (C) 35

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
123984
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Santosh Mishra
Publisher
πŸ“ˆ
80%
Success Rate