A

Admin • 802.91K Points
Coach

Q. What will be the output of echo 3 + 2 * 2?

  • (A) 7
  • (B) 10
  • (C) 8
  • (D) 6
  • Correct Answer - Option(A)
  • Views: 4
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
Multiplication has higher precedence, so 2 * 2 = 4, then 3 + 4 = 7.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.