krgallpac7471 krgallpac7471
  • 04-10-2019
  • Computers and Technology
contestada

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]

Respuesta :

ExieFansler ExieFansler
  • 04-10-2019

Answer:

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];

Answer Link

Otras preguntas

Do chickens have a backbone
How do you simplify 8 to the -2 power
18x-(8x-7)=67 what does 'x' equal in this equation?
write an equation with the solution x=25
fructuse, sucrose, and starch are all examples of ? carbohydrates, lipids,nucleic acids or proteins?
drew's weekly allowance is $8. His friend jan's weekly allowance is $10. Drew spends $3 a week and jan spends $4 a week. WRITE TWO EXPRESSIONS TO SHOW HOW MUCH
Ramon has a rope that is 25 1/2 feet long. He wants to cut it into 6 pieces that are equal in length.  How long will each piece be?
Natural disasters can have positive effects on an ecosystem. True or false?
Search results for "2.3 times 6.9 and complete the problem 6.9 divided by 2.3! Answer the question: did you notice anything that connect these two problems?"
Write the polynomial in standard form.–7x^2 – x^3 + x^ 5 + 2 A. x^5 + x^3 + 7x^2 + 2  B. x^5 – x^3 – 7x^2 + 2  C. –7x^2 – x^3 + x^5 + 2  D. 7x^2 + x^3 + x^5 + 2