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

what is the difference between plucking and abrasion
why do you add a zero when multiplying two digit by two digit numbers?
What is the correct way to classify a triangle with angles that measure 20 degrees, 40 degrees, 120 degrees? A. acute B. right C. obtuse
why do you add a zero when multiplying two digits by two digits
Ecosystems usually become balanced by natural controls, including natural selection. A balanced ecosystem is one in which
Patrice, by himself, can paint four rooms in 10 hours. If he hires April to help, they can do the same job together in 6 hours. If he lets April work alone, how
what is 92% as a decimal AND a fraction
Which best describes the function of the cell wall in cells? A. maintains the cell's nuclear structure B. moves materials within the cell C. supports the frame
Mark the statement if it describes a republic. Multiple Choice A. A government in which the citizens elect their leaders. B. A government in which all citizens
Why would 1 kg of lead be less awkward to carry around then 1 kg of feathers?