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

Free-market economies are meant to exist without governmental control. true or false
Which part of French society was affected by the adoption of the Napoleonic Code? a. the schools b. the banking system c. the legal system d. the military
Louis XVI was an autocrat that ruled
If a corporation goes bankrupt, who gets paid back first from any remaining funds? * a. Common stock holders. b. Preferred stock holders. c. Bond holders. d.
1004 divided 39 how do I get the answer
Draw 3 rows with 2 counters in each row.write a word problem that can be acted out using these counters
Leo read 13 pages 1/2 hour what is the unit rate for pages per hour
1. Determine whether the regular hexagon has reflection symmetry, rotation symmetry, both, or neither. If it has reflection symmetry, state the number of axes o
Después de mis clases, siempre como una _____. bistec desayuno cena merienda
A sperm cell and an egg cell fuse to form which structure?