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

The marked price of a watch is 30% above the cost price. When it is sold allowing 20% discount on it, there is a gain of Rs 150. Find the marked price and the c
Bottles of water come in packages of 6. Cheese sticks come in packages of 10. What is the least number of packages of each a person has to buy to have the same
Are these numbers rational or irrational? -7 √10 (square root of 10) √16 (square root of 16) 52% 1.235 1. Rational 2. Irrational​
What is the translation for "Nice to meet you" in Spanish?
Y fue asi un poquito extraña la manera en que llego.
How do details in the passage the leak characterize the thing machine
Help please What was the importance of the fighting in the Far West?
Which graph represents the function f(x))=2•(1/3)^xm
What is the solution to √6x-3 = 2√x?
Evaluate (-3 - y) / (x - 4) when x = -5 and y = -3