A

Admin • 802.91K Points
Coach

Q. What will be the output of print 5 + '5 cars'?

  • (A) 10
  • (B) 55
  • (C) Error
  • (D) 5 cars
  • Correct Answer - Option(A)
  • Views: 3
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
PHP automatically converts '5 cars' to 5 for arithmetic operations.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.