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 was a characteristic of feudalism in both medieval Europe and Japan?
Which was an argument in favor of u.s. imperialism?
What was the new weapon of war that became popular during the Hundred Years War?
A painter leans a 34-ft ladder against a building. The base of the ladder is 16 ft from the building. To the nearest foot, how high on the building does the lad
What could you do to the graph to represent the general trend of the data?
Masks had disappeared by Elizabethan times and women were allowed to act
why did president bush decide to confront iraq
the amendment states that if you are born in the US you are a citizen of the US. True or false ?
$30,000 for 15 years at a yearly simple interest rate of 5%
Rome achieved a balance in their government by creating all of the following EXCEPT: the office of consul the Senate the Assembly a dictatorship