πŸ“Š PHP
Q. What will be the output?
Code:
$x = 5;
$x += 3;
echo $x;
  • (A) 5
  • (B) 8
  • (C) 15
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 8

Explanation: $x becomes 8 after addition assignment.

Explanation by: Roshan
$x becomes 8 after addition assignment.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
8 d ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
96%
Success Rate