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

why is the water vapor fresh water when it rises from the ocean
purchase 7 servings of yogurt each serving of yogurt weighs 1/4 pounds write an improper fraction as a mixed number to show the total pounds of yogurt Hilary pu
craig scored 12 points in a game marla scores twice as ma y points as craig but 5 fewer points than nelson scored how many points did nelson score
A good place to begin an interior structure inspection is the A. basement. B. garage. C. attic. D. plumbing system.
Why did Pontiac’s Rebellion eventually fail?
In act 5, why does Hippolyta believe the lovers' story of their time in the forest? A. She believes the women because she's a queen. B. The lovers'
What percent of 50 is 18?
when finding a percent, do you divide by 100 or multiply by 100?
What is the area of a rectangle with lengths of 5/6 inches and 1/3 inches
Can someone show me how to do the steps to get the answer. Please