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

9/10 in its simpliest form
Who says the following and why? Consort! What! Dost thou make us minstrels? an thou
write about advantages or disadvantages of travelling by car/bike
Which best explains how Article IV is connected to federalism? a.Article IV grants powers to states while limiting the powers of the federal government. b.Artic
________________ are more likely to use any illicit drug than non-drinkers.
choose a numbr from 10 to 90. write to show the number that are10 less and 10 more than your number
Solve this inequality D/-3 < (underlined) -6
A patio in the shape of a regular octagon (8-sided figure) has a side length of 24 ft and an apothem length of 60 ft. What is the patio’s area?
how do you convert 0.5 into a fraction
Which best explains how the idea of non-violent protest has changed since Thoreau? It has adapted to the needs of those working for change. It has become less a