Ask Question
4 March, 08:52

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.

+1
Answers (1)
  1. 4 March, 09:31
    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?
Get 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 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