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

help please !! Who might be the main characters in a world parents type of creation story? a turtle and a raven a powerful god and a human the sky and the earth
What is meant by theme of place?
what type of triangle is angle is 118 and is 42 inches
Which words in the sentence make up the adverb phrase? When the sun is shining, my family enjoys walking around the neighborhood. A. is shining B. around the ne
what does me encanta mean in English
what does me encanta mean in English
Multiply the polynomials (5x^2+4x-4)(4x^3-2x+6) Explain your steps!!
What value for A makes this equation true? 4 • 48 = (4 • 40) (4 • B)
Which sentence is written correctly? A. The comic book shop is the more wonderful of the many places nearby. B. The comic book shop is the most wonderful of the
AP US History question: Discuss the effects of New Deal reform legislation by examining TWO of the following acts: Social Security Act, Wagner Act, Fair Labor S