Q. Which the following declarations are correct to create an array in PHP?

  • (A) name[0] = "Alex";
  • (B) $name = array("Alex");
  • (C) $name[0] = "Alex";
  • (D) Both B and C
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both B and C

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
258
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Sandeep
Publisher
πŸ“ˆ
80%
Success Rate