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

Write a summary of the Holocaust
Metals are good thermal conductors – that is, when there is a temperature difference across their ends, they transfer energy very efficiently from the higher te
who is Bill Gates and where does he live or stay​
The rabbit population in a certain area is 500​% of last​ year's population. There are 700 rabbits this year. How many were there last​ year? please explain spe
6 + y = 8 Is it a linear equation
consider this sequence:4 10 16 22 28Write the nth term of this sequence.is the number 122 in this sequence.(pls, help me!! that is for tomorrow
What is the logic 32+2 +24=63+ 5=
explain the uneven distribution of population in nepal?​
What body systems are used to type on a computer?
Joseph removes 7/8 gallon of white paint from as can. Then he adds 7/8 gallon of blue paint to the can. What is the overall increase or decrease in the amount