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

y = 2x + 1 y = 6x - 1
A student is conducting an experiment that involves adding hydrochloric acid to various minerals to detect if they have carbonates in them. The student holds a
the narrator speaks of a land where there is no
Orna bluntly tells the server that she needs to learn better conflict handling skills. But then, Orna goes over to the customer, who begins to argue with her. S
A rigid massless rod is rotated about one end in a horizontal circle. There is a particle of mass m1 attached to the center of the rod and a particle of mass m2
Mary is allergic to cats. Mary's friend, Sue, has a roommate who has cats. Whenever Mary visits Sue, Mary sneezes even before she enters Sue's house. Mary's sne
Find the smallest number by which 8788 must be multiplied so that the quotient is a perfect cube. Also, find the cube root of the perfect cube so obtained.​
Your definition of bias in your own words.
Find five rational numbers between 2/3and4/5​
Relating to special services