Which of the following are correct ways of creating an array?
1. state[0] = “karnataka”;
2. $state[] = array(“karnataka”);
3. $state[0] = “karnataka”;
4. $state = array(“karnataka”);
A.3 and 4
B.2 and 3
C.Only 1
D.2, 3 and 4
Answers
Answered by
0
Only 1 is correct
Hopes it helps you
Hopes it helps you
Similar questions
English,
7 months ago
Economy,
7 months ago
Physics,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Science,
1 year ago
Science,
1 year ago