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

Helpppppp pleaseeeeee!!!
what effect did the great awakening and the enlightenment have on the colonies?
which of the following describes a historical argument this the poster might support?
SOMEONE HELP ME PLZ IN NEED OF HELP!
The consent of how many states was needed to amend the articles of confederation?
What is the strength and direction of the electric field 3.560 cm?
A rate is equal to 0.0200 m/s. if [a] = 0.100 m and rate = k[a]2[b]2, what is the new rate if the concentration of [a] is increased to 0.200 m?
Stephan’s mother cuts a twig from a Rose bush and plants it in the soil. After a few days, Stephan observed a new plant growing. Which characteristics does the
why did the people of chungungo need to use nets to catch moisture in the air
What two conditions must producers meet for there to be supply of a product?