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

Percy works two part-time jobs to help pay for college classes. On Monday, he works 3 hours at the library and 2 hours at the coffee cart and earns $36.50. On
How does the circulatory system work together to keep your body healthy and maintain homeostasis?
The first attempts by the United States at expansion in the Pacific were focused on A. the Philippines. B. Alaska and Japan. C. Hawaii and Samoa. D. China a
echoderms contain a what similar to the kind that vertebrates have
Find the sum. Write your answer in simplest form. 6 5/6 + 6 11/12
what are the functions of transparency international
Which sentence contains a verb in the passive voice? A. We caught a large trout in the river and ate it for dinner. B. The Snake River flows through the Grand
Given f(x) = –5x + 1, what is f(–2)? A. 3/5 B. 11 C. 1 D. -9
What is the study of the human body
Which of the following expressions is equivalent to 6 - (-5)? a. 6 - 5 b.6 + 5 c.-6 + 5 d.-6 + (-5)