kpmorrow6140 kpmorrow6140
  • 04-10-2019
  • Computers and Technology
contestada

Code a call to the function anotherFunc passing the array myints.

a)anotherFunc(myints []);

b)anotherFunc(int myints);

c)anotherFunc(myints &);

d)anotherFunc(myints);

Respuesta :

ExieFansler ExieFansler
  • 04-10-2019

Answer:

d)anotherFunc(myints);

Explanation:

When we call a function we just have to pass the names of the arguments to the function.In case of arrays we also just have to pass the name of the array.We don't have to worry about the square brackets.So the function call will be like this.

anotherFunc(myints);

Hence the answer is option d.

Answer Link

Otras preguntas

Why is it unusual that lichens are classified as a species
Help me with #2 and #3 please
Vayas a la tienda. Correct Incorrect
Which of the following describes the growth rate of the exponential function in the graph below? A.)For each x increase of 1, the y increases by a common diff
What the answer and how do you do it
Archaea and bacteria are similar in which of the following ways?
mary draws the number line below to repersent the solution set of the inequality 50-8t<90 what mistake did Mary make?
Three ways vaccines help prevent the flu
This artistic representation of metalworking, which show the creativity and versatility that can be achieved with metal, is entitled, _____________. a. Torso o
What was the “three-legged stool” of the New Right, and how did each leg develop within the context of the Cold War??