πŸ“Š PHP
Q. What is the output of: echo '5' + 10;
  • (A) 15
  • (B) 510
  • (C) 5 10
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 15

Explanation: PHP automatically converts the string '5' to number 5 and adds 10.

Explanation by: Rati Dubey
PHP automatically converts the string '5' to number 5 and adds 10.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
99%
Success Rate