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

A respected developmental theorist who proposed a comprehensive life-span theory
What does "y usted" mean in English?
Which is a mark of Chaucer's originality?
Describe the events surrounding the death of mike costello
a grain of sand has a diameter of 0.049 millimeters how do I write that in words
A recent forest fire has swept through the forest, killing many of the smaller organisms such as the hare, deer, and rodent populations that are prey for the la
4. Describe the number set(s) the number belongs to: −√17
From a rectangular piece of cardboard having dimensions a × b, where a = 20 inches and b = 70 inches, an open box is to be made by cutting out an identical squa
write a brief political monologue about democracy from an athenian slaves point of view
What does is mean when someone says a song reminds you of them?