Ask Question
16 September, 13:10

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. 16 September, 16:12
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers