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 of the following is a clause? Clapping and laughing excitedly Whereas I love ice cream The captain and his rowdy crew standing To get up and go
(4x-2)*6(2x+7) in standard form
Next four multiples of a unit fraction one half
2x+y=20 6x-5y=12 substitution
An increase in the atmospheric levels of carbon dioxide (CO2) is the biggest contributor to which of the following? A . global warming B . El Niño C. wind storm
Quick help, please? What is the significance of the similarities and differences between William Kamkwamba's story and Calvin Stanley's story? All I need to kno
How might Congressman Steve King respond to "Brutus'" statements on natural rights?
Who was Henry II? A. the king who led the Normans in their conquest of England B. the king who established a new system of justice in England C. the king who le
Name the countries that border Nepal and Bhutan
What are at least three things a colony needs to successfully achieve autonomy? democratic form of government capitalistic economic system numerous treaties wit