Q. What will be the output?
$a = 5;
$b = 10;
echo $a + $b;

Code:
$a = 5;
$b = 10;
echo $a + $b;
  • (A) 510
  • (B) 15
  • (C) Error
  • (D) 5+10
πŸ’¬ Discuss
βœ… Correct Answer: (B) 15
Explanation: The + operator performs arithmetic addition.
Explanation by: Roshan
The + operator performs arithmetic addition.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
35
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
90%
Success Rate