Question:What are the types of key of array?

 

Answer There are two types of key of array. It can be numerical And associative.
Numerical : It stores each array element with numeric index name.Numerical keys bear no relation to the value other than the value's position in the array.
Associative : It contains characteristic element or string index name. An associative key logicallybears a direct relation to its corresponding value. 


Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in D:\webserver\www\vcampusbd_com_https\answers\column_answer_two.php on line 128
+ Report
Total Preview: 712
What are the types of key of array?

Copyright © 2024. Powered by Intellect Software Ltd