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

How does wind abrade rock
what would most likely happen to the carbon cycle if there were no more plants I earth
Refer to Explorations in Literature for a complete version of this narrative. Read this excerpt from “The Final Assault” by Sir Edmund Hillary. …there were hang
A giraffe can run up to 46.93 feet per second.how far could a giraffe run in 1.8 seconds? Justify your answer.
how did european colonists view themselves when they went to africa
The root word patho means _____.
In "The Final Assault," Hillary explains how he and Tenzing Norgay climbed Mount Everest together. How does Norgay affect the outcome of the narrative? A. Wi
What does speculate mean?
A study that uses intact groups when it is not possible to randomly assign participants to the groups is called
How do temperature differences in the protoplanetary disk explain the arrangement of the planets in the solar system?