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

Which states votes traditionally red
Where was the first capital of the Republic of Texas located at for 3 years? A. Austin B. Dallas C. Houston D. San Antonio PLS HELP ASAP!!!
Which function do the male and female reproductive systems share? Depositing semen. Implanting a fertilized egg. Producing sex gametes. Transporting a fertilize
In "Chanticleer and the Fox," how does Chanticleer’s dream affect him?Which detail from Chapter 2 best explains what the setting of the tulip garden means to Pe
HELP PLEASE!!! THIS IS DO THIS MORNING
What group does this element belong to?
How do you defuse an argument without losing your temper?
Why would a cloud not produce precipitation?
Read the following excerpt from “The Cask of Amontillado” and answer the question. At the most remote end of the crypt there appeared another less spacious. Its
What is the primary purpose of endnotes? to provide information on a source used to create a document to identify the sources on each page of a document in the