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

Explanation: PHP converts the string starting from the numeric part to integer and adds.

Explanation by: Rati Dubey
PHP converts the string starting from the numeric part to integer and adds.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
67
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
87%
Success Rate