1.

Which of the following are correct ways of creating an array?i) state[0] = “karnataka”;ii) $state[] = array(“karnataka”);iii) $state[0] = “karnataka”;iv) $state = array(“karnataka”);

A. iii) and iv)
B. ii) and iii)
C. Only i)
D. ii), iii) and iv)
Answer» B. ii) and iii)


Discussion

No Comment Found