Ask Question
22 July, 19:23

Code a call to the function anotherFunc passing the array myints.

a) anotherFunc (myints []);

b) anotherFunc (int myints);

c) anotherFunc (myints &);

d) anotherFunc (myints);

+2
Answers (1)
  1. 22 July, 21:08
    0
    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.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Code a call to the function anotherFunc passing the array myints. a) anotherFunc (myints []); b) anotherFunc (int myints); c) anotherFunc ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers