Ask Question
Today, 17:51

A single dimensional array can be declared as int a[10] or int a[] = {1, 2, 3, 4}. It means specifying the number of elements is optional in 1-D array. Given the array above, which statement would change the fifth element to equal 1? void function () { ... }

1) a[3] = 23;

2) a[1] = 1;

3) a[5] = 1;

4) a[5] = 6;

5) a[10] = 5

+1
Answers (2)
  1. Today, 18:44
    0
    1) a[3] = 23 is the correct answer
  2. Today, 20:35
    0
    The answer is (3)

    Explanation:

    Just did the test
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “A single dimensional array can be declared as int a[10] or int a[] = {1, 2, 3, 4}. It means specifying the number of elements is optional ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers