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

Who was the fist president in the u.s
This picture shows some fortified cereal in a bowl. What mineral is most likely added to this cereal to increase its nutritional value? (2 points) talc iron
The figure is drawn on centimeter grid paper. Find the perimeter of the shaded figure to the nearest tenth. A) 17.6 cm B) 10.8 cm C) 15.6 cm D) 18.0 cm
Why do large carnivorous animals such as lions often need to eat just once per day?
which equation has the same solution as 2x^2+16x-10=0 A: (x+4)^2=-3 B: (x+4)^2=-11 C: (x+4)^2=13 D: (x+4)^2=21
What river did lewis and clark mainly follow during their expedition?
Please help solve these equations! Show steps(: thank you
How does a nerve impulse pass along a neuron?
Jim wishes to buy 3 gifts that cost 15 dollars, 9 dollars, and 12 dollars. he has 1/4 of the money he needs, how much more money must he earn in order to buy th
Question 5 (Essay Worth 5 points) Which novel have you selected?