Ask Question
20 December, 20:17

How can the function anotherFunc2 change the contents of the second element of t?

a) change t[1]

b) change t[2]

c) change * t[1]

d) change * t[2]

+3
Answers (1)
  1. 20 December, 20:41
    0
    a) change t[1].

    Explanation:

    The array stores elements in serial order. It keeps an index associated to every element of the array and the indexing start form 0 to size-1. So to access the second element in the array it's index will be 1. So to access the second element we have to write arrayname[1];

    In our case the array name is t.

    So t[1];

    Hence the answer is change t[1];
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “How can the function anotherFunc2 change the contents of the second element of t? a) change t[1] b) change t[2] c) change * t[1] d) change ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers