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 is an image produced by a plane mirror different than an image produced by a convex mirror
In which forms of government is rules based on wealth or property ownership
Help!! Number 39 please
Compared to the national rate, abused children are _____ times _____ likely to abuse their own children.
Which is the correct list of possible rational roots of the polynomial (*p/q)
The Treaty of Versailles:
What is the kinetic energy (in joules) of a .2 kg softball thrown at a speed of 40 m/sec? (answer should be in correct units)
Two buses left town A for town B at the same time. The speed of one of the buses was 10 mph greater than the speed of the other bus. In 3 1/2 hours one bus rea
A sample of oxygen gas was collected via water displacement. since the oxygen was collected via water displacement, the sample is saturated with water vapor. if
Explain how a battery works.