A

Admin • 833.24K Points
Coach

Q. Which is the correct example of an Indexed array in PHP?

  • (A) $cities = array("Delhi"; "Mumbai"; "Banglore");
  • (B) $cities = array("Delhi", "Mumbai", "Banglore");
  • (C) $cities = new array("Delhi", "Mumbai", "Banglore");
  • (D) $cities = new array(3) ("Delhi", "Mumbai", "Banglore");
  • Correct Answer - Option(B)
  • Views: 22
  • Filed under category PHP
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.