×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

What is the difference between Indexed array and Associative array in PHP?

109. What is the difference between Indexed array and Associative array in PHP?

  1. Index array has numeric index while associative array has named keys
  2. Index array has numeric index while associative array has named keys and numeric index both
  3. Index array is one-dimensional array with numeric index while associative array is two-dimensional array with numeric index
  4. Index array has numeric index while associative array has one or more arrays

Answer: A) Index array has numeric index while associative array has named keys

Explanation:

The main difference between Indexed array and Associative Array is that - Index array has numeric index while associative array has named keys.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.