Ask Question
22 June, 12:09

To pass an array to a function, specify

a) the name of the array without any brackets.

b) the name of the array preceded by an empty pair of brackets.

c) the name of the array followed by a pair of brackets including the size of the array.

d) the name of the array followed by a pair of brackets including a number one less than the size of the array.

+5
Answers (1)
  1. 22 June, 12:25
    0
    B

    Explanation:

    It really depends on the programming language, this answer is based on object oriented languages such as C/C++.

    You pass an array to a function by specifying the name of the function and an empty pair of square brackets in the function call.

    In the function header, body and prototype however, in addition to this, you specify the variable type of the function e. g whether int, float, bool etc. before the name of the function.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “To pass an array to a function, specify a) the name of the array without any brackets. b) the name of the array preceded by an empty pair ...” in 📗 Social Studies 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