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

Which major ideas did Charles Darwin introduce in his writings choose all that apply Survival of the fittest The social contract Natural selection The germ t
What features are typical of karst topograpy?
What is the geographical significance of the English Channel? A. Separates the British Isles from the Isle of Man B. British Isles from the Mediterranean C. Sep
What is the answer to 3x squared plus 2X
describe how the Dutch financed Hudson's expedition
A college student has finished 52 credit hours with a GPA of 2.8. To get into the program she wishes to enter, she must have a GPA of 3.2. How many additional c
what are four kinds of music that the south is known for in the United States
What is the definition of the term salt??
What is the acceleration of an object if it goes from a velocity of 25 m/s to rest in 5.0 s? a.–5 m/s2b. 5 m/s2c.–25 m/s2d. 25 m/s2
Why is acid rain a major biological concern?