πŸ“Š PHP
Q. What will be the output?
Code:
echo '5' + '5abc';
  • (A) 10
  • (B) 5
  • (C) Error
  • (D) 55abc
πŸ’¬ Discuss
βœ… Correct Answer: (A) 10

Explanation: PHP extracts numeric value and performs addition.

Explanation by: Roshan
PHP extracts numeric value and performs addition.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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