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

Solve 2p^4+6p^3-8p^2-4p
Waves A and B have the same speed, but wave A has a shorter wavelength. Which wave has the higher frequency?
If I get +16/20 on a test what percentage is that?
What is SADD? How has the organization changed since its founding?
A police dog gets caught in a shootout. A 5 g bullet moving at 100 m·s–1 strikes the dog and lodges in his shoulder. Fortunately the dog survives. The bullet un
How to calculate 30% of 1500??
Can some one help me Please help
a recipe calls for cookies for 3 1/4 cups of. sugar.amy already puts in 3 1/9 cups.how many more cups does she nees t put in
What are the next three numbers in this pattern? 6,000 6,003 6,009 6,018 6,030 6,045 ... .. ...
2(n-3)=4n+1 ugh why does math have to be so confusing??