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.