In: Computer Science
Below is the answer to your question 1
a) int items [5] :- Here items is a variable which can hold upto 5 numbers.
b) int items [ ] :- This is not a valid statement as initialization of an array is not done nor the number has been specified as to what extent can array hold the numbers.
c) int items = {3,7,2} :- Invalid statement as we are trying to assign a number variable with different values at a time. A single value assignment would have worked
int item = 3 or in case of array int items[] = {3,7,2} would have sufficed.
d) int items[] = {3,7,2} :- This will create an array of integers with name items which will have 3 values.
e) int items[] = {3,7,2} :- This will create an array of integers with name items which will have 3 values