Ask Question

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

a) anotherFunc (myints []);

b) anotherFunc (int myints);

c) anotherFunc (myints &);

d) anotherFunc (myints);

+1
Answers (1)
  1. 16 January, 13:07
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers